Updated README.md to show up to add quality options to HTML5 videos
initialized via the source setter
This commit is contained in:
parent
566c059832
commit
29fb4dfc2b
@ -435,10 +435,12 @@ player.source = {
|
|||||||
{
|
{
|
||||||
src: '/path/to/movie.mp4',
|
src: '/path/to/movie.mp4',
|
||||||
type: 'video/mp4',
|
type: 'video/mp4',
|
||||||
|
size: 720,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
src: '/path/to/movie.webm',
|
src: '/path/to/movie.webm',
|
||||||
type: 'video/webm',
|
type: 'video/webm',
|
||||||
|
size: 1080,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
poster: '/path/to/poster.jpg',
|
poster: '/path/to/poster.jpg',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user