Closed Cylix closed 9 years ago
Hi,
I'm currently using your plugin with the videoJS-playLists plugin and I sometimes need to update the watermark.
However, each time we call video.watermark({ ... }), it does not clean the previous content but add the new content over the previous one.
video.watermark({ ... })
With this commit we can do:
// at first video.watermark({ file: 'http://www.videojs.com/img/logo.png', xpos: 50, ypos: 50, xrepeat: 0, opacity: 0.5 }); // then later video.watermark({ file: 'http://www.videojs.com/img/an_other_logo.png', xpos: 50, ypos: 50, xrepeat: 0, opacity: 0.5 });
This will remove the first content and replace it with the new one.
Great. Coud you make the div className an parameter?
Yes of course, I'll do that.
Done, className can now be passed as parameter. Default value is still vjs-watermark.
vjs-watermark
Cool thanks for your commit
Hi,
I'm currently using your plugin with the videoJS-playLists plugin and I sometimes need to update the watermark.
However, each time we call
video.watermark({ ... })
, it does not clean the previous content but add the new content over the previous one.With this commit we can do:
This will remove the first content and replace it with the new one.