Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
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