what does telegram look for in order to grab url info? - web

when you send a URL to your friends in telegram it tries to view info about the URL and even shows a player if it refers to media.
I have a music player page in my website,i like to view a music player in telegram when someone sends the URL of my page to others rather than just viewing a URL.
Youtube does that with videos.

Related

Getting Spotify-generated artist playlists using Web API

When Siri is asked "play music by ARTIST_NAME on Spotify" she starts playing music from a playlist that is generated by Spotify, with no displayed name, and the description "ARTIST_NAME songs picked just for you". I cannot find a way to find this playlist. Its name, according to the https://api.spotify.com/v1/me/player endpoint, is ARTIST_NAME, and its owner is Spotify. How can I find this playlist for a given artist using the Web API?
Ultimately, I am trying to work around the fact that if there is no available device (i.e. Spotify is idle or closed) an artist cannot be played by setting a context-uri in the https://api.spotify.com/v1/me/player/play endpoint. To work around this issue in the case of playing a playlist that the user of my program searches for, I have simply opened the URL of the first track in the album or playlist. This doesn't work in the case of artists, since the list of top tracks by an artists gives the tracks' URLs in the context of the respective tracks's album.
If there is no way to access this Siri exclusive playlist, I would appreciate feedback suggesting alternate routes. It is not sufficient to simply create a playlist, since they would be static and have to be recreated for each request.
Thank you.

Messenger not loading Dialogflow Cards with certain urls

I am trying to add a card in my intent with a button that links to the following URL: LINK
However, when it's triggered in Facebook Messenger, the card loads but never shows. If I change the url to other links (such as Google's) it works as expected, but if it is a link from the same website (Infomoney) it doesn't.
Image of the Dialogflow card with the button URL

Need to upload videos and auto embed onto my web app from YouTube

I am getting an app made in MEAN and will have users registering and uploading images and videos on my app. So, if user "A" uploads a video, it should get saved in my YouTube channel and gets embedded on my web app under that user id with a YouTube player and thumbnail. Similarly, if user "B" uploads a video, it should get saved in the same YouTube channel and get embedded under his id. Is it possible to do so and if yes, kindly help me with it?
P.S. I don't want the users to upload the videos on YouTube under their respective ids.
Appreciate your help in advance. Thanks!

Embed YouTube videos in thirdparty player

Is there any website video player that I can embed YouTube videos in that also displays a playlist?
I want to be able to see the playlist and as far as I know the YouYube provided player that allows for playlists doesn't show the list unless you click on the playlist button in the top left. I want something with a playlist under or beside the video window that shows at all times.
youtube uses an iframe (as simple as that) to deliver content. Any website can display youtube playlists if the url in the "embed code" has the variables to do that. I forget the url but I am sure it is possible. I hope I got your question right...

How to display a video in spotify advertise page?

I am new with the spotify app. I try to display a video in spotify's advertise page. However none of the things that I was trying work (jw player, flow player, youtube iframe. html5). Any hints?
Greetings!
Any external hosts with assets you request need to be added to the RequiredPermissions part of the app manifest:
http://developer.spotify.com/technologies/apps/guidelines/developer/#applicationmanifest
In order to display a video in the spotify you have to fulfill following requirements:
your video file has to be stored on the 3rd party server.
you have to use open-source video player (e.g “JW Player”).
you have to create a html file that will be your lightbox. This is the file that you will embed in the video file and player library.
image file for background of the player.
Destination URL must be open in new browser window.
And don't forget to add the address of host your host to the permissions in spotify's manifest file!!!
Example: here

Resources