I hope someone can help with this as I can't find an answer anywhere.
I've created an AS3 based UI slider that displays images and videos. The videos are added using a brightcove player. This is all working ok except when I click play on the video I get the following error.
SecurityError: Error #2123: Security sandbox violation: BitmapData.draw: file:///D|/development/videoplayer/VideoBanner.swf cannot access rtmp://brightcove-76.fcod.llnwd.net:1935/a500/d12?videoId=696716426001&lineUpId=696887476001&pubId=1520968877&playerId=695954425001&affiliateId=. No policy files granted access.
I'm using a custom play/pause button, and this seems to work (ie, it plays the video) but then I see this error pop up, and my info panels stop working (these are just panels with titles and info copy on them. Animated in using TweenMax).
I gather from some searches that this might be a cross domain problem. I've tried to set up the brightcove player to accept the URL I'm testing it on but I still get the error. Looking at the support site for brightcove I can find nothing about a cross domain policy.
I realise that the error above is running locally but the same thing is happening on my test page.
Has anyone come across this problem before using brightcove and AS3? Let me know if you need any extra info.
Cheers
Barry.
Have you tried creating a crossdomain.xml file like below on your web root?
Related
In my app we host a variety of videos, some from our own platform and some uploaded by our users. We have an instance of a Vimeo Player that works exactly as expected when using video urls from our platform (e.g. player.vimeo.com/video/123456), but doesn't work as expected when we load an external URL that one of our users uploaded (e.g. player.vimeo.com/external/123456.hd.mp4?s=0987654321&profile_id=123). The player loads fine and all the UI controls seem to work, but all of our event listeners on that player instance do not fire.
It seems like with the external references Vimeo loads a redirected url inside the Player control instead of their own site, but I can't figure out much beyond that; my guess is that either there's a bug in the Player or maybe the url it's redirecting to isn't passing up events for the Player to bubble up.
Has anyone noticed this before? I searched their Github but didn't see any mention of this in particular. Maybe it's just not meant to allow the same interfacing with the external urls compared to the internal ones?
Literally any insight or evidence that I'm not completely insane would be helpful. I'd share actual links but they belong to our users and that'd be a violation of data privacy.
When something is shared from youtube to facebook, facebook is now showing the youtube html5 player.
If you look up one of their urls (https://www.youtube.com/watch?v=uuS5ZyQhvsk) in the open graph debugger you can see that they are now providing open graph meta data for their html player as well as the flash one.
I also have a player that sits in an iframe, and am now including the same tags that youtube is, minus the flash ones as we don't have a flash player, but it isn't working and facebook is giving me this error which doesn't make sense:
Share has playable media but will not play inline because it would cause a mixed content warning if embedded. Add a secure_src or make the video src secure to fix this.
This is the information facebook is reading:
This is the url as an example that is generating that error: https://www.la1tv.co.uk/player/124/260
All I can think is that Facebook has made some kind of deal with youtube and this isn't available for everyone yet, but that isn't clear from that error.
All of the content on our site is served over https.
Anyone know what's going on or got this working?
I can't find any documentation anywhere on facebook how to do this.
I posted a similar question a while back when I was trying to get this working but at this time youtube was still only providing the flash player to facebook.
It looks like someone else was having a similar issue here.
According to WizKid this is currently in a trial period for YouTube and hopefully will be rolled out to everyone at a future date.
I have a website, that should play mp3 files after clicking on a logo. When a sound is played, the p5.js library (p5js-sound) draws some graphic on the background. Suddenly it has stopped working. In the Chrome console log, the problem is with this line. Without any reason after two years of working properly, it started to give this error
Uncaught TypeError: this.audiocontext.createScriptProcessor is not a
function.
I found out that it works in Firefox and on some computers with older versions of Chrome. How to solve this problem?
Newest versions of Chrome will not "autoplay" audio. Some kind of user interaction is required, ie. click on something to "start" the audio context. When I get it to work I will post code.
It is unlikely that this is a problem with your code or anything you have done to the p5.sound library.
On the contrary, it may be an out-of-date version of the library and the processing foundation may not have updated it yet. They are a non-profit organisation so cut them some slack but I suggest using an alternative library for now
You could use native functions like an onclick="" that controls whether a hidden <audio></audio> tag is playing - Good luck coding!
When something is shared from youtube to facebook, facebook is now showing the youtube html5 player.
If you look up one of their urls (https://www.youtube.com/watch?v=uuS5ZyQhvsk) in the open graph debugger you can see that they are now providing open graph meta data for their html player as well as the flash one.
I also have a player that sits in an iframe, and am now including the same tags that youtube is, minus the flash ones as we don't have a flash player, but it isn't working and facebook is giving me this error which doesn't make sense:
Share has playable media but will not play inline because it would cause a mixed content warning if embedded. Add a secure_src or make the video src secure to fix this.
This is the information facebook is reading:
This is the url as an example that is generating that error: https://www.la1tv.co.uk/player/124/260
All I can think is that Facebook has made some kind of deal with youtube and this isn't available for everyone yet, but that isn't clear from that error.
All of the content on our site is served over https.
Anyone know what's going on or got this working?
I can't find any documentation anywhere on facebook how to do this.
I posted a similar question a while back when I was trying to get this working but at this time youtube was still only providing the flash player to facebook.
It looks like someone else was having a similar issue here.
According to WizKid this is currently in a trial period for YouTube and hopefully will be rolled out to everyone at a future date.
Hope someone will be able to help me,
I am currently working on a flash project and i have to play youtube and dailymotion video. (this application is full actionscript3 not in a flash app in a browser).
I am trying to make the actionscript youtube api and it does work i can load and play videos.
But when i am trying to use the dailymotion api in actionscript3 : http://www.dailymotion.com/fr/doc/api/player-deprecated/flash_api
I can display the api, load videos, but when it comes to play i get those message:
One is about Sandbox violation,
another message is : interruption of your connection something called l2 visiblemeasures.
Can someone help me?
Thanks
You probably use the Flash player content debugger.
When using the standard Flash Player (not the content debugger one) those messages should not be displayed and the video should play normally and smoothly.
Sandbox violation might occur in some cases when no crossdomain policy is setup.
Those messages are not critical as long as they don't crash the player and the streaming when using standard Flash Player.
Best.