SSL Page embedding Non-SSL video from Vimeo - ssl

I am using an iframe to embed video from Vimeo in our Moodle LMS. My code works perfectly in Chrome, IE and Firefox, but not Safari. I am using the standard Vimeo API to embed the video. I know the issue is SSL related because I can remove the S from HTTP in the url and the embedded video works perfectly. I can't run our LMS in an unsecured environment, and the videos are no threat, but vimeo will not stream their video using ssl because of the overhead. Anyone have a solution that works across all browsers?

Vimeo's Embedding Videos FAQ page indicates that it does support HTTPS. Are you following these instructions?
Can I embed my video on an HTTPS domain?
You sure can!
Our embed code is now “protocol relative,” which means that we adhere to the protocol of your website, whether it’s HTTP or HTTPS.
If you’re using an older version of the Vimeo embed code (with a http://player.vimeo.com URL within it), you’ll simply need to change “http” to “https” and it should start working!
and
Why doesn't my video load when I preview it in my website editor?
Vimeo's embed code uses protocol-relative URLs, meaning that we automatically match the embedded video's protocol to your website's — either HTTP or HTTPS.
If you are previewing your website with a program like Dreamweaver, the video will not load because the program cannot determine the correct protocol to use. That said, the video should work flawlessly once you publish it.
There are two ways you can test your embed:
Add http:// to the player.vimeo.com URL in your website's source code. This should allow you to see the embed in preview mode.
Publish a live test page where you can see the embedded video in action.

Related

my browsers won't allow live streaming and video calling or audio calling even after enabling webrtc on all browsers

i am working a social network platform and wanted to integrate the live streaming services and also the chat voice and audio calling services. they are all active, except that I keep getting "Sorry your browser does not have webrtc" even after installing this extension on all my browsers, it still says the same for Chrome, Firefox, and Microsoft Edge. The only browser working perfectly well is the apple safari browser. Now I don't know how to fix this.
WebRTC has to work under https environment. That's why your website isn't working. Deploy the application with SSL security.

Embed youku video on HTTPS site

I am trying to embed videos from http://youku.com on a website served via HTTPS. Unfortunately they only support HTTP at the moment.
Any ideas?
Regards,
If you're referencing it via the player API e.g. http://player.youku.com/jsapi you can use https://players.youku.com/jsapi

Disable Twitter Universal Deep Links

Update: It appears Twitter has fixed this issue. Clicking the authorize button now works! Thank you all for the responses.
I have a UIWebView that opens and directs to Twitters Oauth/Authorize webpage. The user signs in with there Twitter details and authenticates the use of our application with there Twitter account. This process worked perfect before the release of Twitter 6.37 iOS application. What happens now is when the WebView detects https://twitter.com/oauth/authorize?oauth_token instead of staying in the WebView it opens the native Twitter application and dies. If you uninstall the Twitter application everything works as usually it staying within the WebView. How can I prevent this from happening? I want to stay within my UIWebView and not automatically open deep links. I have been reading about the new URL deep link changes in iOS 9, but not sure of how to stop them from my application to other native applications. Thanks for any help!
As a workaround, in twitter authentication screen we can use the Go button on iOS typing keypad instead of using the sign in button on web view until twitter fixes.
Please refer the attached screenshot link for clarity.
Screenshot for the workaround
I ran into this issue as well and figured out it was because my authorize endpoint was set to https://twitter.com/oauth/authorize?oauth_token="+oauthToken (I believe this was in the original documentation). If you add api as the subdomain: https://api.twitter.com/oauth/authorize?oauth_token="+oauthToken, it will no longer trigger the deep linking and load the twitter app.
My answer to this via a Xamarin question:
Unless Twitter removes/updates the apps section of "https://www.twitter.com/apple-app-site-association" to allow a bypass or a secondary oauth that is not in the apple-app-site-association file I do not see how you would do it. These files are signed and iOS handles them at an OS level.
I have not played around very much with the continueUserActivity delegate and the NSUserActivity object that is passed to apps launched from UNI links, but I do not see a way for the launched app (i.e. Twitter) to return control to the original app, and at that point the oauth call-chain would be broken anyway....
Unique. Unlike custom URL schemes, universal links can’t be claimed by other apps, because they use standard HTTP or HTTPS links to your website.
Secure. When users install your app, iOS checks a file that you’ve uploaded to your web server to make sure that your website allows your app to open URLs on its behalf. Only you can create and upload this file, so the association of your website with your app is secure.
Via: https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/AppSearch/UniversalLinks.html
I would report as an issue (bug?) to Twitter's Dev forum: https://twittercommunity.com

How Internet Download Manager grabs URL of online videos

I'm developing a software which streams videos from vimeo. But, I don't know how to fetch it's direct URL.
Suppose the URL of vimeo video is: http://vimeo.com/78848064
But, IDM captures the direct URL of it as, http://pdl.vimeocdn.com/82070/105/203391355.mp4?token2=1387027682_29600487ac61980514ca8d3d014ea6a4&aksessionid=561c553c97d5676a
So, how is this possible ?
I think there is one similar software that you might be interested to look into. Internet Video Manager. http://www.ivmindia.com
It uses a python back-end program (included in the same folder, named as dl.exe) to extract direct link to youtube, vimeo videos.
Pro accounts have access to their own video files using the new (in beta) API3. If you would like access you can request it at vimeo.com/help/contact.

iOS App URL is not being detected

I have created a custom App URL for my iOS app. The URL format is similar to this:
myappname://texttobeparsed
This works fine when I paste the URL in safari, My App opens and correctly handles the URL. The problem is that other apps such as iMessage or Notes do not recognize this as a URL.
Why isn't this URL scheme being recognized as a URL? Could it have to do with how I set it up in my info.plist file or something else?
Or, does the URL need to be in a different format to be recognized?
I know it's possible to have the system recognize it as a URL in apps other than web-browsers because I've seen it before with other apps (ex. iTunes: itms://itunes.com/apps/appname or Twitter: twitter:// or Facebook: fb://).
There's nothing you can do about this. If the link isn't explicit (e.g. in an HTML email), these apps can just recognize a built-in set of standard URL schemes. itms:// is one of Apple's own schemes (for the iTunes Store), so it makes sense that it is supported in addition to the standard mailto://, http://, tel://... schemes.
Edit: I would guess that the information that is used to determine what constitutes a valid URL in text views etc. is cached somehow. Contrary to what I initially guessed, it seems that app-specific URLs do work in Notes, etc. I've tested this with tweetbot:// for example (which I have installed) and twitter:// (which I don't have installed) to verify that it doesn't just check for a pattern like *://, but actually uses information about the installed apps.
I'd suggest that you try to restart your device. If it's an issue with some cache, that might help and I don't think there's much else you could do if your URL scheme already works in Safari.
Update: I've installed the official Twitter app to test this, the twitter:// scheme wasn't immediately recognized in Notes, but after killing and restarting the Notes app, it worked.
Update 2: I've done a minimal test app with myappname:// as a custom URL scheme. Again, like with the Twitter app, it worked after restarting the Notes app, so it doesn't seem related to the popularity of the app or whether it's been submitted or not.
I can't answer as to why it's not working (beyond guessing that the link interpreter is hard-coded to only recognize certain URL schemes), but I can say that the typical way around this is to link to a web page, and have the web page redirect to your custom scheme.
It's slightly less elegant, because the user will see Safari open up briefly before being forwarded to your app, but it's also more robust because the web page can provide a link to the app store to install the app if it is not installed on the user's phone.