route website through proxy - html

I am making a website for school and am going to embed some youtube videos on my site. At my school youtube is blocked and I can get past it by using a vpn, however, the blocks are pretty good and block many proxies. Is there any way that I can in my HTML route the videos through a proxy or something so that my videos will always be accessable as long as the proxy isn't blocked. Thanks.

You can't do it using only HTML. You'll need a web server that downloads the videos and makes them available for the client to download. That's not cheap/convenient.
You can put them on Drive or Dropbox and reproduce them using a web player such as JW Player.

Related

Vimeo privacy settings affects/inhibits download functionality when embedded on a website

Vimeo states: "Hide this video from Vimeo" will make the video unable to be accessed on the Vimeo website (unless you are logged in as yourself), but it still can be embedded on other websites. Your video can be added to albums and portfolios, but no other types of collections."
In the Vimeo settings, with 'Hide from Vimeo' selected, there is also a checkbox titled 'What can people do with your videos?' I have 'Download them' selected.
So, as far as I am aware, the Vimeo videos should be able to be embedded on my client's website, 'hidden on Vimeo' yet still 'downloadable' from my client's website.
This is not the case. We can not download from the client's website unless the Vimeo settings are set to 'Public,'
Vimeo actually inhibits the download functionality when privacy settings "Who can watch your videos?" are set to anything other than "Anyone." So you have to have public videos on Vimeo which defeats the object of paying for PRO.
The scenario: My client has sensitive videos which they use Vimeo to host (privately). These videos are streamed to private client pages on the Wordpress website using a bespoke plugin. Only the people with access to the private client area on the website should have access to these videos and they must be private everywhere else on the web. BUT, they must be downloadable from the client area.
Please help! We have spent two months developing a bespoke WordPress plugin and now this error is occurring.
We are using Vimeo PRO.
Thank you!
The "download" option in the video's settings refer to the Download button that appears on the video page at vimeo.com/[video_id]. That download setting has no bearing on its ability to be downloaded using the download link; the download link should work anywhere its served, provided that the link has not expired.
See the "Download videos" Help Center article here: https://vimeo.zendesk.com/hc/en-us/articles/229678128-Downloading-videos
There are only two supported methods to serve a download link on your website:
Use the Vimeo API to retrieve the download link from Vimeo:
https://stackoverflow.com/a/54009156/3704546
Get the download links from the video's distribution settings page:
https://help.vimeo.com/hc/en-us/articles/224823567-Third-party-player-links
These are the only supported methods to get download links; if you're using another method to get download links, the links may expire or break at any time.

How to setup player (which have monetize ability) for video on html5 website

On my dynamic website I have a lot of video content. Video content I serving from my web server. Now I want to find a way to monetize that content displaying ads on player. My problem is that all platforms for video monetization, which I find for now, are cloud based (you need to upload video on their host and serve link).
So my question is: Is there a way to serve videos from local host (personal web server) and to monetize them? And how?

Vimeo :domain-level embed privacy : How to handle video link if someone use inspect webpage and change video id

I am planning to use Vimeo for hosting my educational video series which I want to restrict specific videos to specific user as per what plan / course they have purchased.
After lots of googling, I came across one option in Vimeo to set "domain-level embed privacy" so that only from my site video will be played.
But what if someone inspect webpage and change video url which is private?
Vimeo forum relevent link : https://vimeo.com/forums/api/topic:277888
"If you want to keep your video's privacy set to domain-level embed privacy, one workaround is to embed the video on a domain you control, and then embed that page in your Android webapp."
is there any way to handle this as if someone tried many url changes then he can see video from my website even if I have set them private and domain level security.
In near future, I want to use same in my android app as well so that logged in user can see videos they allowed.
Thanks in advance.
Can someone guide me for this usecase?
But what if someone inspects the webpage and changes the video url which is
private?
If someone inspects the webpage and changes the video url then the change will be local to their system and temporary. As they refresh page it will revert back to original. No website on earth can stop this from happening.
is there any way to handle this as if someone tried many url changes
then he can see video from my website even if I have set them private
and domain level security.
Domain level security as far as I understand means that you can embed video on a website on a particular domain only such as - yourdomain.com. Changing the url of embedded video will not load any video as video is hosted on provided url only.
In near future, I want to use same in my android app as well so that
logged in user can see videos they allowed.
In an android app you can load your page in a webview or inappbrowser. And on a website you can make certain pages accessible to authenticated user only. On top of that you can also implement record level security, so that a particular course is accessible only to people with subscription to that course.

Load only audio from youtube in as3

Is it possible to load only the audio from YouTube into my AS3 flash custom player through youtube AS3 api?
I want to load it into a sound object and then assign it to a sound channel.
I would like to know if there is an "official" way to do this, I'd like to avoid improvising (like loading the whole stream and then use only the audio).
Thank you.
I suggest you read the YouTube terms of service carefully:
https://developers.google.com/youtube/terms
In particular, you may not "promote separately the audio or video components of any YouTube audiovisual content made available through the YouTube API".
Doing so in any way (such as moving the video off stage) is likely to have your site blocked for playbacks by YouTube for breach of terms of service.
NB: YouTube manages to provide the service it does through advertising on top of video content. Separating the content like this prevents YouTube from making any money from the service it is providing.
If you use it for private usage, its okay I guess.
After some research work with different APIs and libraries and researching source code, I just tried it by myself and wolla.
Just saying, audio only links are in the page source of each video.
You just have to know what you are looking for ;)
Open a youtube video, view page source and search for "mime%3Daudio". There should be 5 matches, full url for example:
"https%3A%2F%2Fr2---sn-35cxanpbo5a-8pxl.googlevideo.com%2Fvideoplayback%3Fsource%3Dyoutube%26signature%3D30EC556F55533FBFD9003767730D10556681F33A.B12E021CA54CCB9E225F58A4430E9BB528081FB5%26requiressl%3Dyes%26expire%3D1527306011%26clen%3D3064602%26initcwndbps%3D1152500%26ipbits%3D0%26mime%3Daudio%252Fmp4%26dur%3D192.911%26fvip%3D5%26lmt%3D1524946334873350%26key%3Dyt6%26sparams%3Dclen%252Cdur%252Cei%252Cgir%252Cid%252Cinitcwndbps%252Cip%252Cipbits%252Citag%252Ckeepalive%252Clmt%252Cmime%252Cmm%252Cmn%252Cms%252Cmv%252Cpl%252Crequiressl%252Csource%252Cexpire%26itag%3D140%26gir%3Dyes%26ip%3D81.217.53.239%26id%3Do-ALNxMeQYw4LLc1FAjxt4h795wKTdqJnzc_SBgzEJVBxR%26c%3DWEB%26keepalive%3Dyes%26mm%3D31%252C29%26mn%3Dsn-35cxanpbo5a-8pxl%252Csn-2gb7sn7r%26ei%3Du4IIW7DfC46rgAfrrpnICw%26ms%3Dau%252Crdu%26mt%3D1527284230%26pl%3D16%26mv%3Dm"
Just decode URL and you got what you want.

Embedding insecure flash objects on a secure page

I am wondering if it is possible to embed a YouTube video on a https website. As far as I can tell YouTube videos can only be embedded with the http:// protocol. Is there a way to embed them on a page without Firefox throwing an error?
I really do not know if this works, but you should give it a try:
Instead of the YouTube player you use your own custom player (made by youself or take from the web, there are a lot out there. e.g.: JW Player) This player is served by your secure server.
Before you play a video you have to call the Youtube API the recieve the source of you video:
http://gdata.youtube.com/feeds/api/videos/VideoID
Get you player streaming this video.
Within your player you should be able to allow recieving unsecure content from a secured website. You probably have to a little bit reading on the Flash Players security sandbox.
Unfortunately, Youtube doesn't have a valid SSL certificate installed on the main part of its site. You can try using a proxy such as https://browseunblocked.com/
Since Youtube doesn't have a valid SSL certificate, this won't be possible. Perhaps you could instead embed a HTTP iFrame containing a YouTube video inside your https webpage? Streaming a video over SSL would be slow, so unless the video itself needs to be encrypted, you shouldn't use it. Since you're talking about streaming YouTube videos, I doubt you care about encrypting the actual video stream, just the request to view it.
You could proxy the youtube stream through a secure server. What I mean is have a middle tier application that fetches the video feed from youtube and passes it through a secure connection back to your flash app.