Skip to content

Chrome issue with HTTP protocol when retrieving file location from ID #4

@nonnimartin

Description

@nonnimartin

In the first few lines of $youtube-video/youtube-video.js the initial URL value is hard-coded and the youtube video Id is appended to the string as follows:

url: "http://www.youtube.com/get_video_info?video_id=" + id

Chrome policies seem to have blocked the use of this protocol for some types of requests. This can be overcome by just changing it to "https". This might be easily overcome with a try/catch of some sort, but I have not tested it.

Thank you for this project! It was very helpful for me!

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