towerz / clappr-youtube-playback Goto Github PK
View Code? Open in Web Editor NEWClappr plugin for playing youtube based videos
License: Apache License 2.0
Clappr plugin for playing youtube based videos
License: Apache License 2.0
Hi.
I can't figure out this error.
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ('http://0.0.0.0:8080').
I use the same clappr version as your demo, and even tried your build.
The protocol is also unsafe in both cases.
mac os mojave, chrome 75
upd:
As it turned out, the same error is present in your demo, but it does not interfere with the playback.
The demo do not allow to change video source, It never load the new video
Hi!
Any chances do import this on react? Thx.
Need to add height: '100%' and width: '100%' options to second parameter of YT.Player method.
Just need to add one line to ready method
this.options.autoPlay && this.play()
or use Event PLAYBACK_READY listener for add this option.
And set playerVar.autoplay to 0
Its not resizing to full screen :(
says module not found: playback
This way the player may either go back to idle state (showing poster) or display the youtube end video screen.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.