diff --git a/readme.md b/readme.md index 01397e66..6fe7936d 100644 --- a/readme.md +++ b/readme.md @@ -444,9 +444,9 @@ Here's a list of the methods supported: source(...) - Array + Array or (null|undefined) - Set the media source. + Get/Set the media source.

string
.source("/path/to/video.mp4")
@@ -458,6 +458,9 @@ Here's a list of the methods supported:

YouTube
Currently this API method only accepts a YouTube ID when used with a YouTube player. I will add URL support soon, along with being able to swap between types (e.g. YouTube to Audio or Video and vice versa.) +

+ null or undefined
+ Returns the current media source. Works for both native videos and embeds. @@ -704,3 +707,4 @@ Also these links helped created Plyr: ## Copyright and License [The MIT license](license.md). +