cloudinary-video-player icon indicating copy to clipboard operation
cloudinary-video-player copied to clipboard

Cloudinary video not display progress bar and ending time.

Open PadharaHitesh opened this issue 4 years ago • 1 comments

The issues I am having. When we using the this plugin and initialize the player. cloudinary source loaded but not display the progress bar and ending time.

My source file extension was .webm and .mkv

var cl = new cloudinary.Cloudinary({cloud_name: "cloud _name", secure: true});
       const vplayer = cl.videoPlayers('.video-player-init',{
           streaming_profile: "hd",
           controls: true,
           playbackRates :[1, 1.5, 2]
       });

PadharaHitesh avatar Apr 29 '20 13:04 PadharaHitesh

@PadharaHitesh This most likely is the result of the stream being generated on-the-fly or that on chrome we stream back the response and we do not know the actual length of the video. What you can do is generate the streaming profile beforehand for that asset and it should contain that information on the first request. Can you try generating it eagerly and make sure that you set an eager_notification_url so you can see when the streaming profile generation is done. More info here on how to do that: https://cloudinary.com/documentation/upload_videos#eager_video_transformations

d-mendoza avatar Apr 30 '20 00:04 d-mendoza