1 Function Description
Add watermark in real- time video, historical playback video window
2 Operating Instructions
// Call before executing startVideo/startVod
// The parameter is index, whether to superimpose watermark (0: No: 1: Yes), superimpose method (0 = temporarily invalid), and watermark content.
swfobject.getObjectById('cmsv6flash').setTagTitle(index, 1,0, 'watermark content');
Example:
// The video plug- in must be initialized before it can be called.
// Play video
function playVideo() {
// Stop playing video
swfobject.getObjectById("cmsv6flash").stopVideo(0);
// Set the video window title
swfobject.getObjectById("cmsv6flash").setVideoInfo(0, "vehicle1- CH1");
// Add watermark
swfobject.getObjectById('cmsv6flash').setTagTitle(index, 1,0, 'test');
// Play video
swfobject.getObjectById("cmsv6flash").startVideo(0, "80c631c6063e42069572fcdb14966bf0", "777777777777", 0, 1, true);
}
Effect:
