mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-15 16:06:41 +03:00
Rename 'video' to 'mediaElem'.
This emphasizes that both a <video> and <audio> elements can be used in Shaka Player. Closes #1555 Change-Id: I2aa6e10b9ad7044588e1b418d938060aca333a2b
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
Basic usage of Shaka Player is very easy:
|
||||
|
||||
1. Start with {@tutorial welcome} and compile the library.
|
||||
2. Create a simple HTML page with a video element.
|
||||
2. Create a simple HTML page with a video or audio element.
|
||||
3. In your application's JavaScript:
|
||||
1. Install Shaka's polyfills.
|
||||
2. Check for browser support.
|
||||
3. Create a Player object to wrap the video element.
|
||||
3. Create a Player object to wrap the media element.
|
||||
4. Listen for errors.
|
||||
5. Load a manifest.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user