Playing movie from android

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
asai
Forum Commoner
Posts: 43
Joined: Tue May 04, 2010 6:24 am
Location: Norway

Playing movie from android

Post by asai »

Hi,
I have made a webpage that play wmv files.
Here is som of the code:

Code: Select all

<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?
Tayla6
Forum Commoner
Posts: 26
Joined: Thu Oct 10, 2013 8:40 am
Location: Manchester
Contact:

Re: Playing movie from android

Post by Tayla6 »

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.
Tayla the great
Post Reply