Skip to content

Commit

Permalink
Fixed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisn committed Sep 5, 2024
1 parent 3b41dde commit 2673092
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/mediaelement-player.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
/**
* @file
*
* Implementation of {@link Player} adapter based on the HTML5 media element.
* Implementation of {@link Player} adapter based on an <code>&lt;audio&gt;</code>
* or <code>&lt;video&gt;</code> HTML element.
*
* @module mediaelement-player
*/

/**
* Checks whether the given HTMLMediaElement has either a src attribute
* or any child <code>&lt;source&gt;</code> nodes
* or any child <code>&lt;source&gt;</code> nodes.
*/

function mediaElementHasSource(mediaElement) {
Expand All @@ -24,7 +25,7 @@ function mediaElementHasSource(mediaElement) {
}

/**
* A wrapper for interfacing with the HTML5 media element API.
* A wrapper for interfacing with the HTMLMediaElement API.
* Initializes the player for a given media element.
*
* @class
Expand Down

0 comments on commit 2673092

Please sign in to comment.