Comments (3)
Definitely possible, but we'll need to write it. You're welcome to start it, otherwise hopefully I'll be able to do it next week.
Using the object syntax of loadVideoById
https://developers.google.com/youtube/iframe_api_reference?hl=en#Queueing_Functions
from ember-youtube.
After a deeper look into your code I realized you already have the seekTo
action implemented. We just need to call it targeting the component like this:
with seekTime
being the timestamp (in seconds) I want to jump to in the video.
However, since Ember 2.0, it is no longer possible to use delegate=controller
. Instead we need to use delegate=this
to make it available outside. So we have to use something like this:
There's no need to write code, a simple update in the README.md
file is enough to make the usage of this feature clearer.
from ember-youtube.
Thank you for the reminder. I pushed a release 0.5.1.
from ember-youtube.
Related Issues (20)
- Automatically stop playback when compontent is removed. Play video when component is added. HOT 4
- Add support for changing isMuted and isPlaying. HOT 2
- Abstract YouTube API using Playtube HOT 1
- Use ember-lazy-video? HOT 3
- Update NPM version of ember-youtube HOT 2
- It doesn't work when I switch routes HOT 2
- Different instances of component have mutual playerVars HOT 4
- Full screen? HOT 5
- Improve tests HOT 5
- Don't load YT script if it is already loaded HOT 2
- Raises an exception if the component is destroyed before it initializes. HOT 2
- Can't get ember-youtube to work on iOS safari or chrome HOT 2
- Progress bar won't update on click if video is paused HOT 1
- ember-youtube rises some errors HOT 3
- Move babel to dev-dependencies HOT 2
- sendAction deprication HOT 2
- Switching between multiple videos triggers a widget api error HOT 3
- ember-concurrency should be a dependency HOT 2
- modernize addon HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-youtube.