How do you display your overlay logo on embedded videos? - dailymotion-api

I can't seem to find any documentation anywhere that states how you can display your overlay logo with link when embedding your video?
After attempting to copy the URL format used on the overlay settings page, however it always reverted back to the DailyMotion logo.
http://www.dailymotion.com/embed/video/<video_id>?
GK_PV5=1&
api=postMessage&
apiKey=<apiKey>&
origin=<origin>&
ui-watermark_link_url=<link_url>&
ui-watermark_url=<watermark_url>
To clarify, is the logo only displayed when the video is shown on the DailyMotion website, or am I doing something wrong?

To put on overlay on your Dailymotion videos, you don't need any code, it's only a setting in the overlay settings page you mention: http://www.dailymotion.com/settings/logooverlay
You need to have monetization enabled to access this feature.
Basically, you only have to upload your logo on this page (when logged) and this will add a logo to the bottom right corner of your videos (whether onsite or in your embeds).
Read more at https://faq.dailymotion.com/hc/en-us/articles/207322227-Logo-overlay

Related

Get YouTube Thumbnails with JavaScript

When you hover your mouse over a video in YouTube, it display a short animated video (see attached screenshot)
I checked the network tab in dev console and the URL is of the format
https://ytimg.com/an_webp/xxx/mqdefault_6s.webp?
However, the page source code doesn't include these links. Is there a way to get the thumbnails for videos on a YouTube page.
when you hover over a video it's GIF is created. You can create your own gif from any video using libraries like gif.js

How can the quality of a Video be set when using the Youtube Embedded Player from Code?

setPlayerQuality() doesnt seem to work. There must be a way, as when quality is manually set from the player control bar it works!
When using the webpage with the Youtube embedded player on a laptop atleast able to set manually with the help of the control bar, however on an android mobile the same page doesnt show the option to change quality on the control bar.
Need to set quality via code...please help!

Full screen Vimeo Video Issue & YouTube Player API Reference for iframe in IE7

I have a site (which is only viewed using Internet Explorer 7) that is made up of 5 sections and in section 2 I am currently using Vimeo to embed a video. The requirement is that the user has to watch all of it before proceeding to the next section. In order to achieve this I have used event listeners which only activate the ‘Next’ button to proceed when all of the video has been watched (Works Great)
Another requirement is for users to be able to play the video in full screen but the problem I have using Vimeo is that it does not support the option to hide the progress bar when a video is playing in full screen, this allows the user to skip the video. After researching around and contacting Vimeo support I can confirm that hiding the progress bar can only be achieved when viewing the video in standard mode when you have subscribed to the pro account (which I have).
I looked into targeting the CSS classes within the iFrame, and setting a display none value on the controls div but this is something that can’t be done.
I have looked at using YouTube as an alternative and you are able to hide the progress bar in full screen using this markup
<iframe width="560" height="315" src="https://www.youtube.com/embed/C0DPdy98e4c?rel=0&controls=0&showinfo=0?&fullscreen=1" frameborder="0" allowfullscreen=1></iframe>
I’ve done some reading on using the YouTube Player API Reference for iframe Embeds (https://developers.google.com/youtube/iframe_api_reference) but it says that one of the requirements is that the user's browser must support the HTML5 postMessage feature - INTERNET EXPLORER 7 DOES NOT SUPPORT IT :(
Could anyone suggest how I can achieve this, either by hiding the progress bar using vimeo in full screen or by implementing the youTube Iframe API to work with IE7?
Cheers
Paul
I don't see a parameter to remove the controls in a Vimeo video on their page on embedding. Also, the Vimeo FAQs say that the control bar gets hidden on an embedded video when it's less than a specified number of pixels wide.
You might have to do some sneaky CSS styling stuff instead. I did manage to find an article on hiding controls on an HTML5 video when viewing it fullscreen, but it said that IE does not support the full-screen API, so I'm not entirely sure what you're trying to do is actually possible on IE.

How to header image / banner that expand to video on play button click?

I want to create a header image / banner that, when a play image is clicked, expands vertically to play a video hosted on YouTube.
This page shows exactly what I'm trying to do:
blendedlearningnow.com/about.
I'm not sure if this is a function available through the JWPlayer or some other code.
It does not appear that this is functionality inside JWPlayer. You could do it with jquery and .slideDown() http://api.jquery.com/slideDown/

YouTube Video Being Embedded via JWPlayer, "Play on YouTube" gets cut off

I am using JWPlayer to embed several YouTube videos on a web site. In the bottom right hand corner, there's the usual YouTube logo.
The text/tooltip that appears on hover is getting clipped by the video or the video's container.
Inspecting all of the parent elements, I'm not seeing anything that's set to overflow:hidden. Anyone run into this, or better yet, have a solution to either move the tooltip, or make it so it is not clipped by the video,container or object?
Edit: I've got it live now, so there is an example of what's happening:
http://www.copycei.com/#home
If you start playing a video from the home page, hover over the ghosted YouTube logo in the bottom right hand corner, and you'll see the clipped tooltip. Was really hoping I could target the id/class of that bit and just position it slightly to the left, but can't seem to inspect and target it in Chrome. Any help would be appreciated.
LongTailVideo (makers of JW Player) have filed this as an actual bug with the Google API used for embedding YouTube video:
https://code.google.com/p/gdata-issues/issues/detail?can=2&start=0&num=100&q=&colspec=API%20ID%20Type%20Status%20Priority%20Stars%20Summary&groupby=&sort=&id=2899
Looks like there's not a solution to this as of now.

Resources