Solved

want autoplay off for embedded flash file

Posted on 2009-03-30
2
1,289 Views
Last Modified: 2012-05-06
I have simple embed Flash Player tag on my web page and the video plays but it always starts automatically. The file name is really long, but once you get past that, you'll see I have 'play="-1"' and i've also tried 'autoplay="false" but nothing stops it from starting automatically when the page loads.


<embed src="https://www.eurcommunications.org/flv/FlowPlayerDark.swf?config=%7Bembedded%3Atrue%2CbaseURL%3A%27https%3A%2F%2Fwww%2Eeurcommunications%2Eorg%2Fflv%27%2CvideoFile%3A%27http%3A%2F%2F91%2E121%2E126%2E10%2Fvideos%2Flwk%2Ephp%2F046%5FEN%5FHI%2Eflv%27%2CemailVideoLink%3A%27https%3A%2F%2Fwww%2Eeurcommunications%2Eorg%2Fflv%2Fen%2Flwk%5F046%5Fen%2Ehtml%27%2CemailPostUrl%3A%27https%3A%2F%2Fwww%2Eeurcommunications%2Eorg%2Fflv%2Femail%2Ephp%27%2CwatermarkUrl%3A%27https%3A%2F%2Fwww%2Eeurcommunications%2Eorg%2Fflv%2Flogo%2Epng%27%2CstreamingServer%3A%27lighttpd%27%7D" width=400 height=200 quality="high" TYPE="application/x- 
shockwave-flash" wmode="transparent" play="-1" 
pluginspage="http://www.macromedia.com/go/getflashplayer"</embed>

Open in new window

0
Comment
Question by:gwendaellwood
2 Comments
 
LVL 4

Accepted Solution

by:
ariestav earned 500 total points
ID: 24025611
Not sure if you good with Javascript, but I would recommend the SWFObject library for integrating SWF files into your webpages.  The reason is because the implementation is simply more readable.  It's also a great deal more flexible.  Check out

http://code.google.com/p/swfobject/

0
 

Author Comment

by:gwendaellwood
ID: 24031695
Thanks airestav - i'm not great with Javascript but this will help a lot.

It seems like the reason I can't turn off the autoplay is because the file I am playing comes with a lot of configurations already done. Do you think this might be the problem?
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question