Strobe Media Playback for Flash and HTML5 <video>

<iframe> embed code

The simplest embed strategy is using iframes. This is likely to become a standard across major video sites.

Sample embed code

        <:iframe src="embed.html?
			class="strobemediaplayback-video-player" type="text/html" 

Live Demos

Basic embed code sample

jQuery plugin

As a web designer, you might want to use our jQuery plugin instead of the iframe. Like this you have complete control over the video playback and the experience arround the player.

Using the jQuery snippet also saves a HTTP request, so if you have control over the pages where the video is hosted this approach is much better.

Sample embed code

            <div id="strobemediaplayback" style="width:640px; height:480px"></div>
			<script type="text/javascript" src="lib/swfobject.js"></script>
            <script type="text/javascript" src="lib/jquery/jquery-1.4.2.js"></script>
            <script type="text/javascript" src="jquery.strobemediaplayback.js"></script>
            <script type="text/javascript">
                var options = {
                    src: "",
                    width: 640,
                    height: 480
                // Now we are ready to generate the video tags

Live Demos

jQuery basic sample
jQuery basic sample - favor HTML5 <video> playback - embed.html?favorFlashOverHtml5Video=false

Custom Chrome

Instead of using the default browser chrome it is possible to use a custom control bar. Like this you have full control over the playback controls look and feel.

Live Demos

Favor Flash over HTML5 video (default)
Favor Html5 video over Flash