sarbagyastha / youtube_player_flutter

A Flutter plugin for inline playback or streaming of YouTube videos using the official iFrame Player API.
https://youtube.sarbagyastha.com.np
BSD 3-Clause "New" or "Revised" License
690 stars 766 forks source link

[FEATURE REQUEST] Get current position of video in YouTube player iframe #355

Open itssidhere opened 3 years ago

itssidhere commented 3 years ago

Get the current position of video just like YouTube_player_flutter. Is it possible?

itssidhere commented 3 years ago

@sarbagyastha Is it possible ?

sarbagyastha commented 3 years ago

Just use controller.value.position.

itssidhere commented 3 years ago

@sarbagyastha I did in iFrame one it returned null. Will check it again.

DevuSeeroo commented 2 years ago

controller.value.

it is not working... it is returning 0 always