Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added logic to parse youtube video id #408

Merged
merged 1 commit into from
Nov 2, 2016

Conversation

gurupras
Copy link
Contributor

@gurupras gurupras commented Oct 30, 2016

This commit is targetted at solving issue #345 and adds functionality to parse youtube video IDs from various types of youtube video URLs.

Other embed types like vimeo/soundcloud can be extended by following a similar structure as implemented in this commit.

Link to related issue (if applicable)

#345

Sumary of proposed changes

Adds code to parse YouTube embed URLs into video IDs within plyr.
Also provides a sample template to implement parsing logic for other embed providers.

Task list

    This commit is targetted at solving issue#345 and adds
    functionality to parse youtube video IDs from various
    types of youtube video URLs.

    Other embed types like vimeo/soundcloud can be extended by
    following a similar structure as implemented in this commit.
@sampotts sampotts merged commit 10561d6 into sampotts:master Nov 2, 2016
@sampotts
Copy link
Owner

sampotts commented Nov 2, 2016

Cheers 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants