Thanks for the quick response, Aran. Yes, I did read all the docs you mentioned, and I've looked at the example. I agree with you that it has something to do with how I've coded or, more likely, published it. I don't think it has anything to do with the youtube API, though, because youtube has nothing to do with calculating where to put the ball on the slider - that's all in my code, which is in Actionscript. The example doesn't have a progress bar, though, and it's in javascript in the HTML, not Actionscript, so it doesn't help.
The reason I asked the question in this forum was that I thought I saw something in my googling adventures yesterday about swfobject and default frame rate. When I change the frame rate in the actionscript and the .fla, it changes the speed of the bar, and how far it progresses before it thinks it's done. It's still wrong, just differently wrong. I guess what I'm looking for is clarification on swfobject and frame rate. I'm starting to wonder if the reason I haven't found any actionscript examples is because no one else has been able to do this either :-). Thanks, Roberta On Jan 12, 8:02 pm, Aran Rhee <[email protected]> wrote: > This issue seems to relate to the way you have you progress bar coded, and > not SWFObject (as the regular embed still exhibits the same issue) > > I suggest that you post your issue on the Youtube API developers > forum:http://groups.google.com/group/youtube-api-gdata > > <http://groups.google.com/group/youtube-api-gdata>Also, I take it you've > already read the > docs:http://code.google.com/apis/youtube/flash_api_reference.html > > Read the various blog entries:http://apiblog.youtube.com/ > > and seen the working > examples:http://youtubechromelesswrapper-as3.googlecode.com/svn/trunk/as3wrapp... > > Aran > > > > On Wed, Jan 13, 2010 at 4:40 AM, Roberta <[email protected]> wrote: > > I running into a very strange problem. I've embedded a youtube player > > in my code using the new AS3 API. Since it is chromeless, I wrote my > > own controls, with the progress bar/slider controlled by a timer (not > > a tween). > > > When I run it from the Flash environment, the progress bar runs > > perfectly. When I run it from the HTML generated by publishing it, > > which uses an old-fashioned embed, it runs the entire video, but the > > progress bar runs at about 2/3 speed, and stops about 2/3 of the way > > through. When I use swfobject to embed it, it runs the entire video, > > but the progress bar slider moves at about half speed, stopping about > > halfway through. > > > I suspect this has something to do with frame rate, but I can't find > > anything on the subject. And for the life of me, I can't figure out > > why it would be different in all three instances. > > > I'm using Flash CS4, swfobject 2.2. It behaves the same way in both > > Firefox and IE, so I don't think it's a browser problem. I'm not sure > > I can publish the code here because I don't think my company would > > allow that. > > > Does anybody have any light to shed on this? > > > Thanks! > > > -- > > You received this message because you are subscribed to the Google Groups > > "SWFObject" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<swfobject%2bunsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/swfobject?hl=en.- Hide quoted text - > > - Show quoted text -
-- You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.
