Expand my Community achievements bar.

Join us in celebrating the outstanding achievement of our AEM Community Member of the Year!
SOLVED

How to integrate HTML5 player (videojs) into adobe CQ5

Avatar

Level 4
                Hi,  I am working on the video component as per the requirement should add the HTML5 video player.  could you please suggest me, how to proceed. Regards, Michael Vino  
1 Accepted Solution

Avatar

Correct answer by
Level 8
2 Replies

Avatar

Employee

It looks like there are two parts of this:

1) Including the VideoJS JS and CSS in your page

2) Adding additional VideoJS-specific data attributes to the video element.

#1 should be done with a client library

#2 should be done by creating a custom component which extends the foundation video component. The foundation video component produces an HTML <video> tag, just not with the VideoJS-specific attributes.

Avatar

Correct answer by
Level 8