-
Notifications
You must be signed in to change notification settings - Fork 474
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot get videosIndex value from Promise - IOS #228
Comments
@serialbandicoot |
That's brilliant! I'm a bit new to javascript, however this is really well explained and makes perfect sense. this._youTubeRef.videosIndex().then(function(result){ I was going to suggest putting an example in the docs and when I looked there it was!... Many thanks... |
I had the same problem and solved using
|
If i want to return the res.text , how can i do? Please can you post |
Inside getProgress(e), I'm calling const vId = this._youTubeRef.videosIndex();
However the Promise is returning the following and I can't figure out how to extract the actual index.
I know that _55 is storing the Index Value as I can move through the track index and it changes as I change the current played track.
I just don't know how to get to it!...
I've tried all sorts of ways to get the value, but cannot figure it out - anyone know how to extract it?
Many thanks....
The text was updated successfully, but these errors were encountered: