Forums / API
AS3 embedded Moogaloop issues
Forums
Forum Rules
-
Be nice
Even if you disagree with someone, keep it civil.
-
Stay on topic
If it’s not relevant, leave it out or start a new thread.
-
Don't Spam
Re-re-re-re-posts drive us crazy.
-
Respect the Staff
We were members once, just like you.
Our Support Team
-
Sam
-
Mark
-
Ian
-
Tommy
-
Alex
We're here to help you 9AM-6PM EST, Monday to Friday.
Chocky
Hi, I am having some issues with AS3 moogaloop Embed, using the code from the API example.
- Loading from vimeo.com/moogaloop.swf I get
"Error #1069: Property player_loaded not found on flash.display.AVM1Movie and there is no default value."
Using bitcast.vimeo.com/vimeo/swf/moogaloop.swf it is fine but I read it shouldn't be used.
- api_play() results in buffering state until file is fully loaded, and then starts playing. Same in all browsers. This behaviour happens here also (click red tri button):
blog.derhess.de/2009/08/12/working-with-vimeo-moogaloop-api-in-flash/
- No getBytesLoaded api? Then how to create a loading bar??
Wow tough day :-( Has anyone else experienced these issues?
Ziggy
Are you loading a Flash .swf made in Actionscript 2.0 into one made in Actionscript 3.0? That's how you usually get that "flash.display.AVM1Movie" thing. If so, I recommend republishing in AS 3.0.
Chocky
Thanks a lot Ziggy, I'm publishing to FP9 / AS3 from CS4. It seems moogaloop.swf is the one published as AS2, but only at the vimeo.com location, not bitcast.vimeo.com.
BTW can you confirm or unconfim if when clicking play on the custom play button at derhess.de it requires the video file to be fully downloaded (vimeo dl bar complete) before play starts?
Has anyone got production examples of the Vimeo API used in a Flash wrapper with custom UI functionality that I could have a look at?
Not looking forward to Monday when I tell my client I can't build the Vimeo player I provisionally said was possible ... no loading bar is a real kicker - will probably have to refund him the $60 :-(
Wesley Luyten
I got the same problem here, the video has to load completely before it actually starts playing. Seems like a small bug in the Moogaloop API.
Brad Dougherty Staff
This is a bug with the player that will be fixed soon.
Chocky
Thanks a lot for the confirmation Wesley, thought I was going mad there!
Really confused by the state of the Vimeo api after having used the YouTube one and Blip.TV. Thought Vimeo was going to be super slick, but now I see why JW player doesn't support it :-\ Don't want to bitch but laying down $60 and then finding this out is pretty disappointing.
Brad Dougherty Staff
Playing our videos in any other player is not supported and against our TOS.
Chocky
I'm loading the Moogaloop and using the AS API, is that against the TOS?
Brad Dougherty Staff
No, that's fine. You just can't load the videos into JW player, for example.
Wesley Luyten
Is it allowed to embed the Vimeo player through the Moogaloop API in another media player that provides extra functionality like subtitles, audio captions, playlists, etc?
Or are there any TOS available in regard to use of the Vimeo API's? That would be very useful to some...
Brad Dougherty Staff
vimeo.com/apiterms
NuFormer Plus
I have the same buffering bug, however when I click the pause button and then play again. It starts to play.
Is there a way to tell the api to start-pause-start as a quick (dirty) fix for the problem?
Ryan Hefner Staff
Hey everyone,
We are currently looking into the issue where the video needs to cache the entire video before it plays. Seems to have popped up since we changed the CDN that we are using.
In regards to loading the player, we just pushed out an update to the API that was developed with long-term support in mind. You can view the latest version of the documentation here:
vimeo.com/api/docs/moogaloop
This will resolve any issues with loading the player into an AS3 SWF.
Also, please note that we have introduced a new requirement when it comes to loading the player into another Flash application. You will now have to provide the Consumer Key for you application (which you can register at vimeo.com/api/applications) as the 'oauth_key' variable in the Flash Vars. So register your applications now.
We just rolled out this update to the Moogaloop API, so please let us know if you run into any issues with it and we will do are best to resolve them.
Thanks,
Ryan
The1stMovement Plus
Any update on this issue: "the video needs to cache the entire video before it plays"?
trash and luxury
I am also wondering if there is an update to the video caching issue.
Thanks!
Joseph Schmitt Staff
The buffering issue has been fixed and pushed up. It's currently making its way through the CDN so you should be seeing the updated player within the next few days.
thibaud
here is a small list of issue I came across while embedding moogaloop in a flex project:
1. doubleclicking the player throws an error (I guess since fullscreen is disabled that mouseclick call should be too)
2. first api_play() start playing only after file is fully loaded (workaround: calling play();pause();play())
3. for some reason the time widget can't be dragged.(clicking the seekbar works fine though)
thanks for taking the time to look into it. looking forward for an updated moogaloop.
Ryan Hefner Staff
Hey Thibaud,
Thanks for posting these issues. The more we know about the player the better we can make it. To address your concerns:
1. I have put a check in the player to see if the fullscreen button is enabled. Unfortunately, there is no way to see if 'allowFullscreen' has been set on the object/embed without using javascript, so you will have to make sure that you disable the fullscreen button (fullscreen = 0) when you request the player.
2. The buffering issue has been resolved and should be fully propagated across our CDN. If you run into this issue again let me know.
3. I am not sure why you are having issues with dragging the time widget. It seems to be working fine for me. Could you send me a URL where it's not working?
Like I said, these updates should be making their way across our CDN over the next couple of days. Thanks again, and let me know if you run into any other issues in the future.
Thanks,
Ryan
Vogler Voice
Hi everybody,
The video still start playing only after file is fully loaded (it can be very long).
Is it normal ?
igor veretennikov
Got the same problem
francois jacquier
hi everyone,
the moogaloop player do not display anymore in my flash site, with no security sandbox message error
seems to me that crossdomain.xml prevents moogaloop to display but i am not sure
i do not understand what s going on
does anyone meet the same issue ?
Vogler Voice
As it's not working for me with the new code and my oauth_key (with "vimeo.com/moogaloop/crossdomain.xml" and the 'api.vimeo.com/moogaloop_api.swf"), i am still using the bitcast.vimeo.com moogaloop player.
Using it, the video still starts playing only after loading the full file (it can be very long).. The problem appears a month ago and it's still not resolved.
What can we do (except using another api) ?
Ryan Hefner Staff
Hey Vogler Voice,
Are you still experiencing this issue. You should definitely not continue to use the bitcast.vimeo.com moogaloop playe, as we are planning on phasing that out and don't want your app to break later when that happens.
Could you please let me know what's not working still? The player should be fully rolled out on the CDN and you shouldn't experience the buffering issue moving forward.
Thanks,
Ryan
Vogler Voice
I have try using the "api.vimeo.com/moogaloop_api.swf" but it's not working for me.
I think (thanks to francois jacquier) it's because i don't load the moogaloop player from the "root" swf ("the one embedded in the html page").
So, i try to load the crossdomain "Security.allowDomain("*"); Security.loadPolicyFile("vimeo.com/moogaloop/crossdomain.xml");" on my main "root" class and changing the load context in the moogaloop load method (with "SecurityDomain.currentDomain") but it's not working.
I also try to change the Application URL for my register app with "mysite.com/swf/swfthatloadthemoogaloop.swf" but it doesn't change anything.. i still have the Security Sandbox error.
Do i must change my site architecture to load the player from my "root" swf ? or can i do something to make it work without changing the way my site is build ?
thanks for your replies
francois jacquier
i just understood a way to make it work now, it was my swf architecture the problem in my case, the swf loading the moogaloop should be the "root" one, the swf embedded in the html page
Feel free to contact me for more information
Ryan Hefner Staff
Hey Francois,
I just wanted to make sure that you weren't running into the buffering issue anymore as well. Does the video play right away, or does it load the whole file before playing?
Thanks,
Ryan
francois jacquier
Hi Ryan,
the buffering issue is not there any more
Francois