Possible to disable "Watch on Youtube" link? -
i building app embedding videos , specific sections of video clips. example, looks this
<iframe width="640" height="360" src="https://www.youtube.com/embed/pftnjbqjsba&modestbranding=1&showinfo=0&autoplay=1&controls=0&modestbranding=1&disablekb=1&rel=0&start=10&end=20" frameborder="0"></iframe>
is possible disable "watch on youtube" link user doesn't end navigating elsewhere. clear, want control flow while video being watched (i.e not trying interfere ads or youtube logo).
it possible, add &modestbranding=1
embed code.
watch this: https://www.youtube.com/watch?v=4nfgv_et9gy
e.g.
<object width="800" height="450" data="http://www.youtube.com/v/@model.youtubeid&rel=0&modestbranding=1"></object>
note small youtube text label still display in upper-right corner of paused video when user's mouse pointer hovers on player.
learn more youtube's iframe player api.
Comments
Post a Comment