Support embed urls in the following format. This format is found in the Vidyard dashboard for the Embed Code > Developer "Share this link with your web developer".
{code}
https://secure.vidyard.com/embed_select/A1B_C2D345E-fg-hijKL6M
# Has embed_select endpoint.
# ID contains "_" and "-".
{code}
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | video_embed_vidyard-support-embed_select-2853635-4.patch | 3.31 KB | eric115 |
| #4 | video_embed_vidyard-support-embed_select-2853635-4.patch | 3.31 KB | eric115 |
| #3 | interdiff-2853635-3-2.txt | 1006 bytes | recrit |
| #3 | video_embed_vidyard-support-embed_select-2853635-3.patch | 986 bytes | recrit |
Comments
Comment #2
recrit commentedThe attached patch updates the regex in getIdFromInput() to support the embed_select url.
Comment #3
recrit commentedImproved detection using parse_url and supporting the following forms:
'https://secure.vidyard.com/embed_select/A1B_C2D345E-fg-hijKL6M'
'http://embed.vidyard.com/share/A1B_C2D345E-fg-hijKL6M
'https://secure.vidyard.com/organizations/12345/embed_select/A1B_C2D345E-...'
Comment #4
eric115 commentedGreat patch!
I have added some unit tests in to check URL parsing.
Comment #5
eric115 commentedUpdating for drupal-ci to test these patches
Comment #6
eric115 commentedComment #8
eric115 commentedCommitted, thanks for your patch @recrit!
Marking this to be ported to the 7.x version
Comment #9
osmanThis is an old issue now, but is
embed_selectstill valid for sharable URLs?The example URL in the description doesn't work anymore, also I couldn't find any reference to it in Vinyard documentations, except for the "Developer Web Embed" URL.
All the patterns I could find:
Comment #10
eric115 commentedIt's quite possible it's changed now. I haven't worked with vidyard for quite a while and this module was written a few years ago.
It might be worth creating a new issue for this change if you would like to patch it, I think you can still use the module by using the custom url options, but it would be good to update the examples if people are still using this module.