Adobe's Strobe Media Playback player provides the following features:
•A standard appearance (the player’s “skin” or “chrome”) that is easy to customize.
•Playback for a wide variety of content types, including files of type FLV, SWF, F4V, MOV, MP4, JPG, and MP3; M3U playlists; and F4M metadata manifests.
•Support for both standard and advanced delivery methods, including progressive download, RTMP streaming, RTMP dynamic streaming, HTTP streaming, HTTP dynamic streaming, and live streaming. Flash Media Playback 1.5 and Strobe Media Playback 1.5 also provide support for RTMFP multicast content delivery.
•Automatic management of secure (DRM) content with Flash® Access™.
•Advanced playback, with digital video recorder (DVR) functionality, next/previous track seeking, and playlist navigation.
•Control of capabilities such as autoplay, autohide controls, poster frame definition, control bar positioning, and more, without the use of Flash authoring tools.
•Easy configuration with HTML.
•Simple integration of third-party plug-in services such as CDNs, advertising, and analytics. The flexible architecture gives you the option of compiling plug-ins statically or loading them dynamically, so plug-in providers can perform immediate upgrades and versioning.
•Quality of service (QoS) enhancements, including optimized buffering and dynamic (multi-bitrate) streaming.
•useHTML5,favorFlashOverHtml5Video options available.
See Strobe Media Playback Documentation PDF,(included in zip),for more information.
Yii 1.4 or above.
Extract the zip file and place the smp folder in extensions folder of your Yii application.
Default values are set for the required variables,so a minimal configuration of the widget is required.Actually,all someone needs to display the player in a view is this code:
<?php $this->widget('application.extensions.smp.StrobeMediaPlayback') ?>
In this simple case,the default test video file URL that comes with SMP distribution will be loaded in the player.
Basic configuration example:
<?php $this->widget('application.extensions.smp.StrobeMediaPlayback',array( 'srcRelative'=>'/[assets subfolder]/[filename].flv',//OR 'src'=>'http://[domain]/[path]/[filename].flv', //OR //Embed a video from youtube with youtube plugin,included by default: 'src'=>'http://www.youtube.com/watch?v=yQGAedJcdlI', 'src_title'=>'[Title for the media file,will show up above the player.]', //optional playlist: 'playlistLinks'=>array('Title1'=>'URL1', 'Title2'=>'URL2', 'Title3'=>'URL3', ), 'width'=>'320', 'height'=>'240', 'allowFullScreen'=>'false' //default is true ));?>
• srcRelative is the path of the media file relative to the assets folder of your Yii application. It is converted into an absolute URL behind the scenes.
• src is the absolute URL path of the file to be loaded in the player,the default value is the test video that comes with SMP distribution.
The choice between srcRelative and src is provided for convenience.If both are set,srcRelative will override src,see setSourceURL method.
loop : "<?php echo $this->loop?>"
in the params argument.
The player can be used as an mp3 player,in that case the screen area is not needed so it can be hidden if appropriate dimensions are set,like width 340 and height 30,for example.