youtube-auto-play-pause-video

1.0.2 • Public • Published

Youtube-Auto-Play-Pause-Video is a nodejs package to play or pause video on youtube automatically. It currently runs only on windows.

Installation

npm install youtube-auto-play-pause-video

Example

In this example we first import package, then we opened video link and paused video.

var youtube=require("youtube-auto-play-pause-video");

function play(){
	youtube.play_pause_video()
}

youtube.open("video url",play)

DataKund

datakund is needed for browser automation. As soon as this package is imported in code, automated browser will open up.

Import

var youtube=require("youtube-auto-play-pause-video");

Play/Pause Video

youtube.play_pause_video()

Contact Us

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i youtube-auto-play-pause-video

    Weekly Downloads

    0

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    1.46 kB

    Total Files

    3

    Last publish

    Collaborators

    • datakund