PHP Developers Network
http://forums.devnetwork.net/

Playing movie from android
http://forums.devnetwork.net/viewtopic.php?f=14&t=131808
Page 1 of 1

Author:  asai [ Mon Sep 26, 2011 3:28 pm ]
Post subject:  Playing movie from android

Hi,
I have made a webpage that play wmv files.
Here is som of the code:
Syntax: [ Download ] [ Hide ]
<h4>Last hour:</h4>

<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" width="480" height="360" codebase="http://www.microsoft.com/Windows/MediaPlayer/">

<param name="Filename" value="videolasthour.wmv">

<param name="AutoStart" value="false">

<param name="ShowControls" value="true">

<param name="BufferingTime" value="2">

<param name="ShowStatusBar" value="true">

<param name="AutoSize" value="true">

<param name="InvokeURLs" value="false">

<embed src="videolasthour.wmv" type="application/x-mplayer2" autostart="1" enabled="1" showstatusbar="1" showdisplay="1" showcontrols="1" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0" width="480" height="360"></embed>

</object>

It shows very nice in IE and Firefox. But when I am opening the page from my Android mobile it doesn't show.
Is there something missing on my phone or is it something in the code?

Author:  Tayla6 [ Thu Jan 16, 2014 8:17 am ]
Post subject:  Re: Playing movie from android

I am not an expert in this but It may be because of the fixed width and height of the video. Would it be possible for you to set it on automatic so it automatically adjusts when you play it on your mobile phone.

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/