YouTube explicit authorisation to playback video - youtube-iframe-api

Building a local application which allows the embedding of YouTube videos through their standard iframe api. However, I am facing an issue where the video(s) have a domains blacklist in YouTube and although my application runs locally the videos don't play with the message
This video contains content from XXX. It is restricted from playback
on certain sites.
However, I want the video(s) to be playable in my application but not on the domains I have added in YouTube blacklist.
Is there a way for my application to authorise itself to play my videos but without loosing the black listed domains?
The block embedding content has no option to allow file:/// as a playback location so I am hoping for a programmatic way around it.
Thanks in advance,
George

Related

Hosting video for a WordPress site in a Docker container

I have a WordPress site which runs in a Docker container behind an nginx proxy container. I need to embed a small number of videos in the site, which total around 8GB. I looked into hosting them on Vimeo, but the site is part of a small academic project and we currently do not have the funding for an ongoing Vimeo subscription. So I have been researching the possibility of self-hosting the videos.
My intial thought was to bundle the videos into their own Docker container, and stream from there. I found this Docker container through Googling 'Docker streaming server', but I really have no idea if it represents a potential solution. I assume that we would indeed need some kind of server to stream the videos, and if so what kind of server? FFmpeg? Something like this?
you dont need to build up an extra container for the videos.
just upload them in a subdirectory of your WordPress instance.
you can use a video plugin for embedded videos:
https://wordpress.org/plugins/easy-video-player/
https://wordpress.org/plugins/wordpress-video-plugin/
or simply use the HTML5 video tag to link the source:
https://www.w3schools.com/tags/tag_video.asp

Live Streaming Video to audio wordpress

I have a YouTube channel that I often live stream to. This channel is embedded on my website for users on site to see. Many want an audio live stream as well. So is it possible to push my video stream to an audio player which will then play live stream as an audio? Or is there another way around this without having to make two separate streams?
A third-party plugin would be needed for this.
You can try using WP YouTube Lyte plugin, with which you can embed only audio of a Youtube video.
It shows it somehow likes this:
This would be the easiest and most safe way as far as I know.

Store and play huge video on website?

I have a landing page where I'll be embedding a video on my page and allowing users to view it when visiting the site.
I'm using an Azure Website for hosting my site, and ASP.NET/MVC 5 for the server. I have a huge video (345 MB) that I'd like to store on my server, and simply play in the browser.
I'm currently using a video tag to do this and it works fine. My question is, is storing a huge video as part of my website a valid approach to this? Will the data being sent to the user from my server cost us money? Are there better approaches for storing huge videos and still being able to embed them on the site?
My question is, is storing a huge video as part of my website a valid
approach to this?
I don't think so that this is the right approach.
Will the data being sent to the user from my server cost us money?
Yes. Any data that is sent out of Azure is chargeable.
Are there better approaches for storing huge videos and still being
able to embed them on the site?
Use Blob Storage instead. Blob storage is meant for that purpose only. Furthermore, you can make use of Azure CDN so that your video will get replicated/cached across many CDN nodes and will be served from a CDN location closest to your website visitor.

how to track Google Analytics of Adobe Air app?

I have written an Adobe Air desktop application that tracks a bunch of websites and displays images from the websites in the app. And instead of keeping my mouth shut about it and making it look like an attack on the website, I'd like to make it so that the webmasters can see that these pageviews are made by my application.
Is there any way the webmaster could distinguish adobe air access of the website from normal visitor browsing? Perhaps by adding something to the URLrequests I make in the application..?
Google analytics captures browser settings. Make your app pass a unique user-agent, thus any visit with your app could be separated from everything else.

Youtube player tracking API for iframe embed

I need to enable event tracking of Youtube-videos embedded in a site, but since Youtube has switched to iframe-based embedding-code, I'm kinda lost ...
Google/Youtube documentation ( http://code.google.com/intl/da-DK/apis/youtube/iframe_api_reference.html ) only describes how to enable the API when videos are embedded programmatically using the API itself - not when they are copy-pasted onto a page in, say, a CMS.
On top of that, the documentation states that the Youtube Player API for iframe tracking is experimental and should not be used for production sites!
Has anyone found a way to make this work? To listen to events fired by an iframe-embedded Youtube video?
It looks like this can be used to get events and call functions on a YouTube video embedded via an iframe.
https://developers.google.com/youtube/iframe_api_reference#Events
There are a few resources available on the web for this:
For the DIY'er on google analytics:
http://www.lunametrics.com/blog/2012/10/22/automatically-track-youtube-videos-events-google-analytics/
For someone who's looking for a product catered youtube analytics (currently free):
http://www.vidanalytic.com/

Resources