首页 > 编程知识 正文

videojs播放非标准rtmp,videocopilot插件包百度云

时间:2023-05-03 05:18:49 阅读:133915 作者:420

Video.js Watermark

aplugindisplayawatermakontopofthevideowithvideo.js。

Using the Plugin

thepluginautomaticallyregistersitselfwhenyouinclude ' video js.watermark.js ' in your page 3360

youprobablywanttoincludethedefaultstylesheet,too.ithandlesshowingtheimageoverthevideo 3360

onceyouhaveyourvideoelementcreated,youcanactivatethewatermarkplugin。

theplugintake5optionsfileandxposand ` yposandxrepeat ` ` and ` ` opacity ` `。

itusethecsshowtheimageoverthevideo。

video.watermark({ (

文件: ' watermark s.png ',

xpos: 50,

ypos: 50,

xrepeat: 0,

opacity: 0.5、

);

data-setup=' { ' plugins ' : } ' watermark ' : { ' file ' : ' watermark s.png ',' xpos': '50,' yyyy

xpos: 50

ypos: 50

Bottom right:

xpos: 100

ypos: 100

顶级:

xpos: 0

ypos: 0

选项

afewmoreoptionshasbeenaddtodocoolstuff.hereareallthedefaultssettings。

var defaults={

file: 'Owned_Stamp.png ',

xpos: 0,

ypos: 0,

xrepeat: 0,

opacity: 100,

clickable :假,

url: ',

类名称: ' vjs-watermark ',

文本:假,

调试:假

}

知识文库

it won ' tworkwhenusingtheflashfallback。

许可

piwigo-videojspluginforpiwigoisfreesoftware 3360 youcanredistributeit

和/ormodifyitunderthetermsofthegnugeneralpubliclicenseas

publishedbythefreesoftwarefoundation

thisprogramisdistributedinthehopethatitwillbeuseful,but WITHOUT

ANY WARRANTY; withouteventheimpliedwarrantyofmerchantabilityorfitness

foraparticularpurpose.seethegnugeneralpubliclicenseformoredetails。

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。