Skip to main content
Known Participant
December 29, 2011
Question

what file should android devices use to view a live video stream?

  • December 29, 2011
  • 1 reply
  • 2165 views

What file should android devices use to view a live video stream? myeventname.f4m?

I'm using the following html5 code and it's not working in Android devices.

    <video id="liveWebcast"
       poster="poster.jpg" 
       src="http://fms45.net/myliveevent.f4m"
           controls
           autoplay>
    </video>

Thanks for the help!

Dave

    This topic has been closed for replies.

    1 reply

    Adobe Employee
    January 2, 2012

    You will have to play f4m on OSMF player. You may downlaod it from Adobe site.

    Other than this, if you are using the Andriod 3.0, you may play HLS stream also i.e myeventname.m3u8 ..Though you will have to google for some app that can play HLS stream on Andriod.

    Mr_DaveAuthor
    Known Participant
    January 3, 2012

    I was trying to play the .f4m file but it never worked on any Android device.

    So your're saying I can't use html5 video tag - to play on Android like this.

         <video id="liveWebcast" src="http://fms45.net/myliveevent.f4m" controls autoplay></video>

    And instead use

         <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

         codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab##version=10,0,0,0">

         <param name="movie" value="StrobeMediaPlayback.swf"></param>

         <param name="FlashVars" value="src=http://fms45.net/myliveevent.f4m"></param>

         <param name="allowFullScreen" value="true"></param>

         <param name="allowscriptaccess" value="always"></param>

         <embed src="StrobeMediaPlayback.swf"type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true"FlashVars="src=http://fms45.net/myliveevent.f4m">

         </embed>

         </object>

    Thank You,

    Dave

    January 3, 2012

    That's correct, of course, this assumes that the Android device supports Flash Player and has it installed. Also, keep in mind that Adobe has announced that they will discontinue support for the mobile version of the Flash Player as of the current release, but I don't know how long it will remain available in the various Android Markets (maybe someone from Adobe has info about that)

    If android is a critical target, you might want to consider a server that supports RTSP (supported natively by android since 2.1)