Jump to content
Xisto Corporation
stopthewarm

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

Recommended Posts

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 :P

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 :D

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.