This is a migrated thread and some comments may be shown as answers.

Video embedding with controls

1 Answer 119 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Amit
Top achievements
Rank 1
Amit asked on 04 Feb 2014, 07:15 PM
Hi All,

I can embed HTML5 video and it plays fine with autoplay on. I can't detect events though. So I can tell when it's finished playing or even add stop/start buttons to it. Can anyone shed some light on this. My current solution is iOS (iPad) only.

Thanks for any and all pointers.

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 07 Feb 2014, 01:37 PM
Hi Amit,

Are the videos available locally in your app, or are you streaming them? HTML 5 video support is different among various browsers and the supported features vary as well especially on mobile browsers. With that said you might try using the default controls attribute. The controls attribute tells the browser to display the built-in playback controls. The built-in controls can differ in function and look between browsers. At a minimum, you should see Play and Pause controls, a progress bar or buttons that skip forward or backward in the video, and a time counter. While a video is playing, the controls are usually hidden and then reappear when the user hovers their mouse over the player.

If that does not cut it for you, you can try Cordova's Video Player plugin, or if the videos would be streamed, upload them to youbute and embed youtube in your view for this purpose.

Regards,
Steve
Telerik
Icenium is now Telerik AppBuilder, and is part of the Telerik Platform. For more information on the new name, and to learn more about the Platform, register for the free online keynote and webinar on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT)
Tags
General Discussion
Asked by
Amit
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or