HOME       >>       Programming

Multimedia Embed Help(active Content)? How to stop the pop up asking to open active content


stopthewarm

Well i have a website in which i have embedded a self made flash video. It brings charm to the page. But the problem is that whenever I or anyone opens it there is this yellow popup asking me whether to allow the active content or not. Well then my homepage looks empty in the starting as the video is in the center.
Well How come videos embedded in youtube and other places don't ask for such permission. I think there is an attribute but i cannot find it.
Here is my code just tell me the attribute or the appropriate coding

<embed src=flashintro.swf height=250 width=250>

Thanks in Advance

jlhaslip

You might need to use the html <object> tag instead of an embed tag

 

http://www.w3.org/TR/REC-html40/struct/objects.html

 

See also the Flash Satay method described at http://alistapart.com/article/flashsatay


Nabb

You might need to use the html <object> tag instead of an embed tag

 

http://www.w3.org/TR/REC-html40/struct/objects.html

 

See also the Flash Satay method described at http://alistapart.com/article/flashsatay

I think you're missing the point that he's getting the 'Click to activate and use this control box' message.

 

I would personally suggest using SWFObject, a javascript file to be included which information and download links can be found here. I'm fairly confident that using SWFObject bypasses the need for an initial click to activate the Flash content in Internet Explorer, but I haven't checked.

 

The alternative is a hack in javascript, a quick google search returned this page for a way to remove the alert. But this is for using the dual object-embed method (using only embed doesn't work in some browsers as far as I know).

 

I've found a comparison page, which seems to list the different ways to insert a .swf into a webpage and their pros and cons - it can be found here


Shirley1874

Well i have a website in which i have embedded a self made flash video. It brings charm to the page. But the problem is that whenever I or anyone opens it there is this yellow popup asking me whether to allow the active content or not. Well then my homepage looks empty in the starting as the video is in the center.Well How come videos embedded in youtube and other places don't ask for such permission. I think there is an attribute but i cannot find it.
Here is my code just tell me the attribute or the appropriate coding

<embed src=flashintro.swf height=250 width=250>

Thanks in Advance

Hi, generally speaking, using SWFObject is better than 'embed' tag. However, it is too technical if you don't know javascript.
Here is an easy solution to make a skinnable flash vidoe player and add flash video files to website - How to add flash videos to website?

Nabb

Hi, generally speaking, using SWFObject is better than 'embed' tag. However, it is too technical if you don't know javascript.

Here is an easy solution to make a skinnable flash vidoe player and add flash video files to website - How to add flash videos to website?

I'm not seeing a problem here - you should note that both ActionScript and JavaScript ARE derivatives of ECMAScript, so they are extremely similar in form. There is only a single line needed when using SWFObject to create... an .swf object, and even if you have no programming experience (for example if you are only familiar with animating in Flash), it shouldn't be hard to work out how to operate this.


VIEW DESKTOP VERSION REGISTERGET FREE HOSTING

Xisto.com offers Free Web Hosting to its Members for their participation in this Community. We moderate all content posted here but we cannot warrant full correctness of all content. While using this site, you agree to have read and accepted our terms of use, cookie and privacy policy. Copyright 2001-2019 by Xisto Corporation. All Rights Reserved.