Video embedding with controls

2 posts, 0 answers
  1. Amit
    Amit avatar
    2 posts
    Member since:
    Nov 2013

    Posted 04 Feb 2014 Link to this post

    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.
  2. Steve
    Steve avatar
    10941 posts

    Posted 07 Feb 2014 Link to this post

    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.

    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)
Back to Top