View Full Version : VideoJS for GXT ( HTML5 player )

20 Feb 2012, 12:10 AM
Is there any way to entagrate videoJS to GXT components.

VideoJS is html5 player http://videojs.com

W (http://videojs.com/)orking html page is too simple

<!DOCTYPE html><html><head> <title>Video.js | HTML5 Video Player</title>
<link href="http://vjs.zencdn.net/c/video-js.css" rel="stylesheet" type="text/css">
<!-- video.js must be in the <head> for older IEs to work. --> <script src="http://vjs.zencdn.net/c/video.js"></script>
<video id="example_video_1" class="video-js vjs-default-skin" controls preload="none" width="640" height="264" poster="http://video-js.zencoder.com/oceans-clip.png" data-setup="{}"> <source src="26.ipad.mp4" type='video/mp4' /> <source src="26.webmvp8.webm" type='video/webm' /> </video>

Colin Alworth
20 Feb 2012, 9:46 AM
What have you tried to do? Have you tried loading that JS file in a GXT page, or building a component with a video tag in it?

20 Feb 2012, 9:50 AM
Easiest way is ti simple use the HTML Widget if you require html markup

20 Feb 2012, 10:01 AM
Of course I tried, htmlcontainer, but it didn't work.

Please give me a small working test case. I give 4 for days to this work.

20 Feb 2012, 11:07 AM
HtmlContanier is not the HTML Widget. You should not use a container, if you just require html markup