IE6 - show swf animation - html

IE6 don`t show animation:
<object width="456" height="315">
<param name="movie" value="animacija.swf">
<param name="wmode" value="transparent" />
<embed src="animacija.swf" width="456" height="315">
</embed>
</object>
"Your security settings do not allow websites to use ActiveX controls installed on your computer."
Other animation show normaly on other websites.

Are you running your HTML-file locally? That can be a problem. Try uploading the HTML & swf-file to the web and check if the problem still occcurs.

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");

How to integrate Flash into Firefox?

I want to embed a flash animation into my standard updated Firefox.
(Firefox has flash installed and works with flash sites)
I use that : (it works on chrome and IE), but gives an EMPTY place in Firefox
<object id="videoPlayer" type="application/x-shockwave-flash" width="100%" height="400px">
<param name="movie" value=swf/player.swf />
<param name="wmode" value="opaque" />
<param name="allowFullScreen" value="true" />
</object>
I also tried with:
<embed id="videoPlayer" src="swf/player.swf" width="100%" height="400px"/>
Same result:
I don't want to use complex JS scripts to activate Flash.
Object tags have changed slightly. This should work in IE, Chrome and Firefox. It works for me.
<object data="swf/player.swf" type="application/x-shockwave-flash" width="400" height="400"></object>

Why does this youtube embed code stop working if I remove the embed tag?

I understood that the embed code had an embed tag inside the object tag as a fallback for IE and old browsers. But, if I, for example, take this code:
<object width="400" height="336"><param name="movie" value="http://www.youtube.com/v/_25bsKcXw5o&rel=0&egm=0&showinfo=0&fs=1">
<param name="wmode" value="transparent"></param>
<param name="allowFullScreen" value="true"></param>
<embed src="http://www.youtube.com/v/_25bsKcXw5o&rel=0&egm=0&showinfo=0&fs=1" type="application/x-shockwave-flash" width="400" height="336" allowFullScreen="true" wmode="transparent"></embed>
</object>
And remove the embed:
<object width="400" height="336"><param name="movie" value="http://www.youtube.com/v/_25bsKcXw5o&rel=0&egm=0&showinfo=0&fs=1">
<param name="wmode" value="transparent"></param>
<param name="allowFullScreen" value="true"></param>
</object>
It doesnt display in Chrome or in Firefox. Why? Does this make sense to anybody? I've tried with several different videos, and the same happens with all of them.
The reason I am doing this is because I wanted to determine where should I change the youtube url attributes (to change behaviour of the player). After doing some more tests, I also noticed that Chrome is responding to he changes I do to the embed tag's parameters, and not to the object's...
Here is a link to Adobe which explains the OBJECT and EMBED tags in detail.

Why does this audio file autoplay?

This keeps autoplaying even when I set it to false 3 times. I don't know what to do it's getting on my nerves. Any ideas?
<object>
<param name="src" value="http://linkimprov.com/buu.mp3">
<param name="autoplay" value="false">
<param name="autostart" value="false">
<param name="controller" value="true">
<embed src="http://linkimprov.com/buu.mp3" controller="true" autoplay="false" autostart="False" type="audio/mp3" />
</object>
You can see how it autostarts in jsfiddle: http://jsfiddle.net/Lisandro/wCJzm/3/
I just started web design and audio is making me want to cut my pc in pieces. Any ideas of why it autoplays??
Thanks
better to use this tag
<audio controls="controls">
<source src="http://linkimprov.com/buu.mp3" type="audio/mp3" />
</audio>
it's working for me!!
works great for IE and *mp3 files but Firefox doesn't support *.mp3 files. It supports *.ogg audio files. Having to have two versions of each of your audio files isn't really a solution. Also, try to find a simple command line utility to create your *.ogg files... good luck.

html: embed streaming video (crossbrowser)

i'm trying to embed a .wmv video into my website but doesnt work :(
i've googled and tried <embed> and <video>
the video i'm using was created by super converter and i've used WMV7 as video codec.
is there a crossbrowser solution for it - or should i better use flash video?
thx in advance
The <video> tag is specific to HTML5, and is very browser dependent. If you care about everyone seeing the video you should not be using this tag yet--wait a few years.
As for why the embed is not working, you'll have to show us code to see what is wrong. Here is an example snippet that should work.
<OBJECT ID="MediaPlayer" WIDTH="192" HEIGHT="190" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
<PARAM NAME="FileName" VALUE="videofilename.wmv">
<PARAM name="autostart" VALUE="false">
<PARAM name="ShowControls" VALUE="true">
<param name="ShowStatusBar" value="false">
<PARAM name="ShowDisplay" VALUE="false">
<EMBED TYPE="application/x-mplayer2" SRC="videofilename.wmv" NAME="MediaPlayer"
WIDTH="192" HEIGHT="190" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="0"> </EMBED>
</OBJECT>
With any HTML questions, you should tell us what browser and OS you are using. Again, source code is very important to diagnosing problems.