'', 'height' => '', 'width' => '', ), $attributes)); $embed = ''; // if it looks like a Screencast.com tinyurl, get the embed code for the file if ( preg_match('/screencast.com\/t\//', $url) > 0 ) { $html = file_get_html($url); if ( $height > 0 ) { $html->find('object#scPlayer',0)->height = $height; } if ( $width > 0 ) { $html->find('object#scPlayer',0)->width = $width; } $embed = $html->find('div#mediaDisplayArea', 0)->innertext; } return ($embed); } add_shortcode('screencast', 'screencast_handler'); add_filter( 'contextual_help', 'custom_post_help', 10, 2 ); function custom_post_help($help, $screen) { global $post_type; //required in 3.0 to differentiate posts from pages and other content types if ( $screen = 'post' && $post_type == 'post' ) { $help .= '

Screencast Video Embedder - You can use this to display your video in a post or on a page.

Example: [screencast url="http://screencast.com/tinyurl" width="400" height="300"]

'; } return $help; } function screencast_addbuttons() { // Don't bother doing this stuff if the current user lacks permissions if ( ! current_user_can('edit_posts') && ! current_user_can('edit_pages') ) return; // Add only in Rich Editor mode if ( get_user_option('rich_editing') == 'true') { add_filter("mce_external_plugins", "add_screencast_tinymce_plugin"); add_filter('mce_buttons', 'register_screencast_button'); } } function register_screencast_button($buttons) { array_push($buttons, "separator", "screencast"); return $buttons; } // Load the TinyMCE plugin : editor_plugin.js (wp2.5) function add_screencast_tinymce_plugin($plugin_array) { $url = trim(get_bloginfo('url'), "/"); $url.= "/wp-content/plugins/screencastcom-video-embedder/tinymce/editor_plugin.js"; $plugin_array["screencast"] = $url; return $plugin_array; } function embeddedvideo_script() { echo "\n"; } if ( function_exists('add_action') ) { // init process for button control add_action('init', 'screencast_addbuttons'); add_action('admin_print_scripts', 'embeddedvideo_script'); } // Lists SC.com Blog Posts function list_sccom_blog_posts() { echo '

'; wp_widget_rss_output(array( 'url' => 'http://feeds.feedburner.com/screencast/ZohE', 'title' => 'Latest News from Screencast.com', 'items' => 5, 'show_summary' => 1, 'show_author' => 0, 'show_date' => 1 )); echo '
'; } // Hook into wp_dashboard_setup and add our widget add_action('wp_dashboard_setup', 'shaken_rss_widget'); // Create the function that adds the widget function shaken_rss_widget(){ // Add our RSS widget wp_add_dashboard_widget( 'shaken-rss', 'Screencast.com Blog', 'list_sccom_blog_posts'); } ?> digeratidom.com » Learning Platforms: To Pay or Not to Pay?

Learning Platforms: To Pay or Not to Pay?

Written by admin

Topics: E-Learning

There is a great article in SecED this week (June 16 2011) that starts to open the discussion about whether schools should pay for a learning platform from a service provider or go it alone with an open source solution. Very topical this week, having been watching a number of tweets against #FROG11. You can read the full article here.

Leave a Comment Here's Your Chance to Be Heard!