Skip to content

Z4Tech/bilibili-embed-convert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bilibili-embed-convert

Join the chat at https://gitter.im/Z4Tech/bilibili-embed-convert Build Status Code Climate

convert url of bilibili.com to embedded video element.

##Usage var bili_convert = require('bilibili-embed-convert');

//Create object
var bili_video = new bili_convert(url);
var bili_video_num = new bili_convert(av_number);
var bili_video_num_page = new bili_convert(av_number, page_number);

//Generate embedded code
var flash = bili_video.flashAddr();
var embedded = bili_video.embedAddr();
var embedded_size = bili_video.embedAddr(height, width);

About

convert url of bilibili.com to embedded video element.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published