shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
isVideoPlaying
Type:Function
Status:stable
Since:1.0.0
Platform:js
@blackbyte.sugar.js.is
This function allows you to know if a video is currently playing or not
Params
- $video*-HTMLVideoElement
The video element to check
Return
- -Boolean
true if the video is playing, false if not
Example
import { isVideoPlaying } from '@blackbyte/sugar/is'
if (isVideoPlaying($myVideo)) {
// do something cool...
}Todo
- testsnormal
Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space