Results 1 to 5 of 5

Thread: iFrame embed codes Strobe Media Playback 2.0 HTML5 fallback does not work on .m3u8

  1. #1
    Join Date
    Jul 2012
    Posts
    14

    Default iFrame embed codes Strobe Media Playback 2.0 HTML5 fallback does not work on .m3u8

    So Strobe Media Playback 2.0 supposedly can do Flash to HTML5 fallback. It works great when using .mp4 but when I try live I can only get an HTTP HDS multi-bitrate stream to work. When I try to view on an Apple iOS device the video does not playback. Has anyone tried Strobe Media Playback 2.0 and been able to fallback to HTML5 and play a multi-bitrate stream using .m3u8?

    Here's an example of it working on the developers site: http://osmf.org/dev/2.0gm/strobemedi...ame-embed.html for .mp4.

    Please assist, I'm so close to having a player than can playback live streams using HTTP HDS and HLS multi-bitrate; and creating the embed code using the iframe format would be the best as this seems to be becoming more prevalent.

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    It appears to fallback to progressive download

    <!DOCTYPE html>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
            <title>Flash/Strobe Media Playback - iframe embed sample</title>
        </head>
        <body>
            <h1>Flash/Strobe Media Playback - iframe embed sample</h1>
            <iframe src="embed.html?src=http://players.edgesuite.net/videos/big_buck_bunny/bbb_448x252.mp4" class="strobemediaplayback-video-player" type="text/html" width="833" height="641">
            </iframe>
        </body>
    </html>
    Richard

  3. #3

    Default

    Did you manage to get this to work ?

    Can you post sample source code ?

  4. #4
    Join Date
    Jul 2012
    Posts
    14

    Default

    No I haven't gotten it to work. It only works when I use http://<wowza server>:1935/live/ngrp:myStream_all/playlist.m3u8 or with http://<wowza server>:1935/live/ngrp:myStream_all/manifest.f4m. The only problem is I need a way to add both sources to the sample iframe code mentioned above. The idea is HTTP HDS playback first and then fallback to HTTP HLS on iOS. Anyone know how to do this?

    What I did was download the Strobe Media Playback 2.0 package. Copied and placed the embed.html, jquery.strobemediaplayback.css, StrobeMediaPlayback.swf, and jquery.strobemediaplayback.js to my web root directory. Additionally I added the swfobject.js to a lib directory and jquery-1.4.2.js to a lib/jquery directory.

    On my target page to embed my video I used the sample iframe code and filled in my own source with .f4m or .m3u8. The last piece to this puzzle is to find a way to implement .f4m first and fallback to .m3u8.
    Last edited by BrianS; 08-29-2012 at 12:30 AM.

  5. #5
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    You can look at HTTP header UserAgent in your server page (php, asp, etc) to determine what type of client a request is coming from, then send the appropriate player. So client-side failover is not necessary, and I don't know how that would work anyway.

    Richard

Similar Threads

  1. Does Strobe Media Player Support HTML5
    By dairees567 in forum General Forum
    Replies: 4
    Last Post: 09-10-2014, 08:27 PM
  2. OSMF/Strobe Media Live Stream with Fallback
    By Petercarnyx in forum Media Players and Devices Discussion
    Replies: 1
    Last Post: 06-24-2013, 02:53 PM
  3. Wowza & Strobe Media Playback
    By iavor.sturm in forum Media Players and Devices Discussion
    Replies: 3
    Last Post: 01-08-2013, 07:43 AM
  4. [Strobe Media Playback + Wowza] Can`t play FLV
    By andermg in forum Video On Demand Streaming Discussion
    Replies: 4
    Last Post: 11-28-2011, 08:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •