Whitelisting app to render html with private vimeo links - html

I have native app that gets html from the database, and renders it. I can embed a vimeo link with no problem. I need to be able to get access to a private vimeo account that whitelists domains. What domain should I whitelist since this is a native app?

When using the Player with a webview or in-app browser, there's no HTTP referer passed back to the Player iframe. Without an HTTP referer, the Player cannot determine if the domain where its embedded is allowed to serve and play the video.
The only workaround is to embed the video on a web page you control, and then open or embed that page in your webview. It's not an elegant solution, but it will allow usage of a domain-restricted Vimeo Player in a webview.
Alternatively, if you're writing a native app use the direct video file links with the app platform's native media player; this feature is only available to PRO and Business users: https://help.vimeo.com/hc/en-us/articles/224823567-Direct-links

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.

Pagination without affecting Audio streaming?

If my web app is not single page app, how can I build an audio streaming with audio player which continue playing while paginating.
You can :
use javascript for reloading other part of your web app (it's not only for single web app page)
use system like symfony for rending part of the page with single controller without reload all. (Ok this solution is based on AJAX call)
use iframe
use iframe with other domain

Does the YouTube Upload Widget uses Flash or HTML5

Reading its documentation one might think that it uses HTML5 especially if focusing on this text:
The widget uses HTML5's postMessage support to send messages back to
your website regarding videos uploaded via the widget.
In addition, when I read the "Note" where it says it loads the same JavaScript file as the IFrame Player API, I thought it really does use HTML5 as the IFrame player API do.
However, when I try the widget on a mobile device I was presented with a "You need to upgrade your Adobe Flash Player..." error. Unfortunately, both iPhone and Android devices do not support it.
So the question is, does the widget use a Adobe Flash or HTML5. If the latter, can it be controlled via settings that was not defined in the doc?
As mentioned in your question, the Youtube Upload Widget uses
HTML5's postMessage support to send messages back to your website regarding videos uploaded via the widget.
So yes it's using HTML5 for this task, but for the video capturing part, the widget uses flash and that's why in mobile or even in desktop browser with flash player disabled, you will get the message that invite you to install flash player.
For the widget parameters, there is nothing, in my knowledge at least, to force it to load a HTML5 version which, I think, didn't exist yet now.
Hope that can help.

route website through proxy

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.

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.