Skip to content

Support for Mobile Devices? #70

@KareemH

Description

@KareemH

Hello, I am using your npm module to render youtube videos. Specifically when a user clicks on an image, a Bootstrap modal will pop up and play the youtube video, which is a form of lazy loading. Everything works great desktop wise.

This would be an image:
image

This would be the modal element activated and using your module to render the corresponding music video:
image

However, the modal element is empty on a mobile device, meaning that the iframe component is not rendered. I was on my iphone using Safari, I'm not sure if it's a compatibility issue. Is there support for mobile devices at all (which would be necessary since everyone shifting away from desktop to mobile)

Thanks for any clarification!
*Side note as well: for some reason, allowFullScreen attribute does not seem to be working. I tried allowFullScreen on its own as a way of setting it, and allowFullScreen={"true"} as another way of setting it with JSX syntax

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