Skip to content

Commit

Permalink
fix(documentation): Fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
rafa8626 committed Jun 1, 2018
1 parent 884ab92 commit 66f2aed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -114,8 +114,8 @@ Method | Description
`play` | Play media. If Ads are detected, different methods than the native ones are triggered with this operation.
`pause` | Pause media. If Ads are detected, different methods than the native ones are triggered with this operation.
`load` | Load media. HLS and M(PEG)-DASH perform more operations during loading if browser does not support them natively.
`addCaptions` | Append a new `<track>` tag to the video/audio tag and dispatch event so it gets registered/loaded in the player, via `controlschanged` event. Uses
`destroy` | Destroy OpenMedia Player instance (including all events associated) and return the video/audio ta` to its original state.
`addCaptions` | Append a new `<track>` tag to the video/audio tag and dispatch event so it gets registered/loaded in the player, via `controlschanged` event.
`destroy` | Destroy OpenMedia Player instance (including all events associated) and return the `video/audio` tag to its original state.
`getAd` | Retrieve an instance of the `Ads` object.
`getMedia` | Retrieve an instance of the `Media` object.
`activeElement` | Retrieve the current media object (could be `Ads` or any other media type).
Expand Down
2 changes: 1 addition & 1 deletion demo/index.html
Expand Up @@ -23,7 +23,7 @@
<body>
<div class="players">
<h1>Video Sample</h1>
<video class="om-player om-player__media" controls playsinline
<video class="om-player om-player__media" controls playsinline data-om-fill="true"
data-om-ads="https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/ad_rule_samples&ciu_szs=300x250&ad_rule=1&impl=s&gdfp_req=1&env=vp&output=vmap&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ar%3Dpremidpostoptimizedpod&cmsid=496&vid=short_onecue&correlator=">
<source src="http://rmcdn.2mdn.net/Demo/vast_inspector/android.mp4" type="video/mp4">
<track label="English" kind="subtitles" srclang="en" src="http://www.mediaelementjs.com/dist/mediaelement.vtt" default>
Expand Down

0 comments on commit 66f2aed

Please sign in to comment.