Some browsers can't load embedded flash videos - html

I have some videos at mypace.com. and I added them to an html page. One of my friend warned me (and he had been warned by others) that he couldn't see the videos.
This problem occures with these systems as far as I know:
Windows 7 + Google Chrome 16.0.899.0 (with a warning about update server)
Pardus (Linux) + Firefox 7.0.1
I guess a trojan may cause this but many people have this problem. These people are using their browser without any other problem.
I want to share some of my code:
<param name="allowFullScreen" value="true"/>
<param name="wmode" value="transparent"/>
<param name="movie" value="http://mediaservices.myspace.com/services/media/embed.aspx/m=0,mr=110475301,t=1,mt=video"/>
<param name="QUALITY" value="high" />
</object>
<br />
<br />
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="425px" height="360px">
<param name="allowFullScreen" value="true"/>
<param name="wmode" value="transparent"/>
<param name="movie" value="http://mediaservices.myspace.com/services/media/embed.aspx/m=0,mr=110475417,t=1,mt=video"/>
<param name="QUALITY" value="high" />
</object>
<br />
<br />

Please try using SWFObject to embed your flash material, as this is the accepted 'cross-compliant" means of doing so. Even the HTML5 Boilerplate examples and initializr HTML5 demos come with SWFObject pre-installed.

Related

Youtube Flash API (AS3) not working in Firefox but in Chrome

I'm wondering why since very recently my own programmed flash-video-player (using the YouTube ActionScript 3.0 Player API) is not working anymore in Firefox (Win, 45.0.1) but it's working still fine in Chrome (Win, 49.0.2623.110 m).
The graphic elements of the video-player load fine in both, so the flash-plugin is working, but only Chrome shows the actual youtube-video.
I know the flash API is deprecated (https://developers.google.com/youtube/flash_api_reference), but why is it still working in Chrome then? Any ideas of how I can get it to run in firefox again?
PS: Because of the complexity of the video-player and its function I cannot switch to the html5 version of the youtube-player-api.
UPDATE:
<object width="640" height="360" id="video" data="video.swf" type="application/x-shockwave-flash">
<param value="video.swf" name="movie">
<param value="xml=xml?i=48-96-43" name="FlashVars">
<param value="high" name="quality">
<param value="#181818" name="bgcolor">
<param value="true" name="play">
<param value="true" name="loop">
<param value="window" name="wmode">
<param value="showall" name="scale">
<param value="true" name="menu">
<param value="false" name="devicefont">
<param value="" name="salign">
<param value="sameDomain" name="allowScriptAccess">
<a href="http://www.adobe.com/go/getflash">
<img alt="Get Adobe Flash player" src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif">
</a>
</object>
Here is an example of a chromeless Youtube SWF working in Firefox.
The short answer is... Make sure your SWF file is being served from an https location. If there is no (SSL) green padlock, the SWF will not load up any other external data. This seems to be a new (security) expectation by Firefox for Flash content that tries to access further external data.
Also update any http:// references in your AS3 code to become https://.
Examples would be :
Security.allowDomain("https://www.youtube.com");
loader.load(new URLRequest ("https://www.youtube.com/apiplayer?version=3") );
player.cueVideoByUrl("https://www.youtube.com/v/YOUR_VID_ID?version=3");

Embed wmv video does not allows fullscreen button

I am trying to embed a wmv video in an html code. The file is playing normally, but I want the website's user, to be able to see the fullscreen button, in order to enter a fullscreen mode.
However, the button does not appears. I have also EnableFullScreenControls flag turned on. Hoever it makes no difference. The code is shown below
<object id="MediaPlayer" width="500" height="500" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
standby="Loading Windows Media Player..." TYPE="application/x-oleobject">
<param name="FileName" VALUE="file:///C:/Users/john/Desktop/modus-files/HTML/videos/Danger.wmv">
<param name="ShowControls" VALUE="true">
<PARAM NAME="fullScreen" VALUE="true">
<PARAM name="uiMode" value="full">
<param name="ShowStatusBar" value="false">
<param name="ShowDisplay" VALUE="false">
<param name="autostart" VALUE="false">
<PARAM NAME="EnableFullScreenControls" VALUE="1">
<embed type="application/x-mplayer2" src="file:///C:/Users/john/Desktop/modus-files/HTML/videos/Danger.wmv" name="MediaPlayer"
width="400" height="400" fullScreen="full" ShowControls="1" ShowStatusBar="0" ShowDisplay="1" autostart="0"> </embed>
</object>
Thanks
I didn't found out what was the problem above. But as other people may have the same problem, I just wanted to post my workaround. I converted the videos to mp4, and then used the jplayer at the site. It is an html player and free and open source. That done the job quite easily. It is also (personal opinion) much beautiful that the media player.

Embed external flash video on page

There is a video which can be found here that I would like to embed on my page somewhere. I have not been successful downloading the flash file because I am unable to access inspect element in chrome and I also cannot figure out a way to embed the flash video file by referencing the URL above.
Does anyone know a way to either download the file or embed it?
By the way, this must support IE8 (sorry everyone :) )
Absolute URL: http://www.brainshark.com/brainshark/viewer/getplayer.ashx?v=201207121701
<object type="application/x-shockwave-flash" id="flashContent" name="flashContent"
data="/brainshark/viewer/getplayer.ashx?v=201207121701" width="100%" height="100%"
style="visibility: visible; ">
<param name="scale" value="noscale">
<param name="wmode" value="window">
<param name="allowfullscreen" value="true">
<param name="allowscriptaccess" value="always">
<param name="bgcolor" value="">
<param name="SeamlessTabbing" value="false">
<param name="flashvars" value="pi=119002744&host=www.brainshark.com&securerequest=false&lng=en-GB,en-US;q=0.8,en;q=0.6">
</object>
Enjoy and good luck!

mediaplayer plug in error

I have created an html page with embedded audio in it, when I try to run it, Firefox and chrome do not display any media player on my HTML page. I recently downloaded a quicktime plugin but still Firefox does not identify it. May I know any supported media player plug-in for firefox and chrome?
here is the code:
<OBJECT id="Audio"
CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
type="application/x-oleobject"
width="144" height="50">
<PARAM NAME="URL" VALUE="music/Beethoven's Symphony No. 9 (Scherzo).wma">
<PARAM NAME="enabled" VALUE="True">
<PARAM NAME="AutoStart" VALUE="False">
<PARAM name="PlayCount" value="3">
<PARAM name="Volume" value="50">
<PARAM NAME="balance" VALUE="0">
<PARAM NAME="Rate" VALUE="1.0">
<PARAM NAME="Mute" VALUE="False">
<PARAM NAME="fullScreen" VALUE="False">
<PARAM name="uiMode" value="full">
</OBJECT>
WMA files aren't the most widely used/supported of files, so many of your end users would run into the same problems you're having.
A few options:
You might consider using a video service like youtube - upload it to youtube, and then cut and paste the "embed" code from them.
Even better, you could use a trial of an HTML5 video converting software, and code in an HTML5 solution.
Here is a link about inserting videos, with a section called "The Best HTML Solution" about half way down the page.
http://www.w3schools.com/html/html_videos.asp

Get this embedded video to play in IE

I have an unusual request. A client wants to play a video from the un.org webcast page. My friend had copied the rendered directly and posted it onto a page. Which to my surprise worked, however it does not work in IE only. Any suggestions or advice (Other then the clearly poor choice in implementing this task would be greatly appreciated)
Here is the code: http://pastebin.com/Db01RL1M (All alone it works on firefox, safari and Chrome.)
I'm not a big fan of the native Flash viewer. So, if it was me, I would embed Flowplayer into my site, due to the huge advantages and extra features it offers over the standard browser. Then, feed Flow the video from the URL you've provided in your code. (http://www.unmultimedia.org/tv/webcast/swfs/player.swf)
My guess is that this will take care of the problem straightaway. Good luck.
You need a "movie" param.
<param name="movie" value="http://www.unmultimedia.org/tv/webcast/swfs/player.swf">
Final code:
<object width="640" height="360" align="middle" type="application/x-shockwave-flash" id="main_player" name="media" class="video" data="http://www.unmultimedia.org/tv/webcast/swfs/player.swf" style="visibility: visible;">
<param name="movie" value="http://www.unmultimedia.org/tv/webcast/swfs/player.swf">
<param name="play" value="false">
<param name="quality" value="high">
<param name="scale" value="noborder">
<param name="bgcolor" value="000000">
<param name="seamlesstabbing" value="true">
<param name="allowfullscreen" value="true">
<param name="allowscriptaccess" value="sameDomain">
<param name="flashvars" value="file=specialevents/2010/se100923pm1.flv&image=http://www.unmultimedia.org/tv/webcast/2010/09/full/se100923pm1.jpg&autostart=false&dock=true&streamer=rtmp://cp8784.edgefcs.net/ondemand&plugins=http://www.unmultimedia.org/tv/webcast/swfs/sharing.swf, http://www.unmultimedia.org/tv/webcast/swfs/captions-1.swf&captions.file=http://www.unmultimedia.org/tv/webcast/2010/09/full/se100923pm1.srt&sharing.link=2010/09/heads-of-state-and-government-luncheon-toast-at-the-beginning&sharing.code=%3Cobject%20width%3D%22480%22%20height%3D%22270%22%3E%3Cparam%20name%3D%22movie%22%20value%3D%22http%3A//www.unmultimedia.org/tv/webcast/swfs/player.swf%22%20/%3E%3Cparam%20name%3D%22allowFullScreen%22%20value%3D%22true%22%20/%3E%3Cparam%20name%3D%22bgcolor%22%20value%3D%22000000%22%20/%3E%3Cparam%20name%3D%22allowscriptaccess%22%20value%3D%22always%22%3E%3C/param%3E%3Cparam%20name%3D%22flashvars%22%20value%3D%22file%3Dspecialevents/2010/se100923pm1.flv%26image%3Dhttp%3A//www.unmultimedia.org/tv/webcast/2010/09/full/se100923pm1.jpg%26autostart%3Dfalse%26controlbar%3Dover%26dock%3Dtrue%26plugins%3Dhttp%3A//www.unmultimedia.org/tv/webcast/swfs/captions-1.swf%26captions.file%3Dhttp%3A//www.unmultimedia.org/tv/webcast/2010/09/full/se100923pm1.srt%26stretching%3Duniform%26streamer%3Drtmp%3A//cp8784.edgefcs.net/ondemand%22%20/%3E%3Cembed%20src%3D%22http%3A//www.unmultimedia.org/tv/webcast/swfs/player.swf%3Ffile%3Dspecialevents/2010/se100923pm1.flv%26image%3Dhttp%3A//www.unmultimedia.org/tv/webcast/2010/09/full/se100923pm1.jpg%26autostart%3Dfalse%26%26controlbar%3Dover%26dock%3Dtrue%26plugins%3Dhttp%3A//www.unmultimedia.org/tv/webcast/swfs/captions-1.swf%26captions.file%3Dhttp%3A//www.unmultimedia.org/tv/webcast/2010/09/full/se100923pm1.srt%26stretching%3Duniform%26streamer%3Drtmp%3A//cp8784.edgefcs.net/ondemand%22%20width%3D%22480%22%20height%3D%22270%22%20type%3D%22application/x-shockwave-flash%22%20allowfullscreen%3D%22true%22%20allowscriptaccess%3D%22always%22/%3E%3C/object%3E&stretching=uniform&controlbar=over&skin=http://www.unmultimedia.org/tv/webcast/swfs/webcast-skin.swf"></object>