Creating 'Add to Watch Later' and 'Subscribe' links
Instantly add videos to the Watch Later playlist
To create a link that allows a user to instantly add a video to the Watch Later playlist we need to add to the URL:
www.asset.tv/instantlogin/[users email address]?key=[token login key]&redirect=watch-later?add_video=[nodeID for video]
For example, the below URL will instantly add "Year in Review | Masterclass" to the playlist for john.seery@hotmail.com:
www.asset.tv/instantlogin/john.seery@hotmail.com?key=74b51d65f2b05d70f99da0ed2f72bf0b&redirect=watch-later?add_video=9585
Instantly subscribe to a channel or term
To create a link that allows a user to instantly be subscribed to a channel page, playlist or term you simply need to add ?subscribe=1 to the URL as per the examples below:
- To subscribe to a channel
www.asset.tv/channel/masterclass?subscribe=1 - To subscribe to a term
www.asset.tv/terms/Inflation/7268?subscribe=1 - To subscribe to a playlist
www.asset.tv/playlist/playlist-1?subscribe=1
We can even link to a specific video but subscribe the user to that videos primary channel:
- To direct to a video and subscribe to it's channel
www.asset.tv/video/uk-outlook-masterclass-0?subscribe=1
The above links would require that users be logged in with their passwords to work, but to ensure there isn't any issues related to whether they're logged in fully or not we can combine with an instant login token: