Skip to content
This repository was archived by the owner on Sep 30, 2021. It is now read-only.
This repository was archived by the owner on Sep 30, 2021. It is now read-only.

Fullscreen toggle not available on touch devices when player is in iframe #869

@zwerfkat

Description

@zwerfkat

When using the player inside an iframe or frameset, the fullscreen toggle isn't always available. This is desired behavior on a desktop, but not for touch devices like Android/IOS phone or tablet. These devices can perfectly play full screen using their native html5 player.

As a workaround I have changed the following lines:

// no fullscreen in IFRAME
try {
if (!conf.fullscreen) common.removeNode(fullscreen);

} catch (e) {
common.removeNode(fullscreen);
}

into:

// no fullscreen in IFRAME
try {
if (!flowplayer.support.touch && !conf.fullscreen) common.removeNode(fullscreen);

} catch (e) {
common.removeNode(fullscreen);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions