Skip to content

Support play/pause on media already playing #93

@daaru00

Description

@daaru00

Hello,

is it possible to support play and pause command on current playing media without launching a new video?

Something like this:

client.connect(host, function() {
    // some method to load current player
    client.loadCurrentPlayer(function(err, player) {
       player.pause()
       // ...
       player.play()
    })
})

or directly operating on client object (like stop/volume/mute/unmute action):

client.connect(host, function() {
    client.pause()
    // ...
    client.play()
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions