In my application the URL has consists of 170+ characters.By using share button i was shared my URL to Facebook and Twitter.In facebook it was working good(Video playing fine),but in twitter the videos couldnt play inline and also when i click the link,video plays in new tab. please tell how to play a video i开发者_运维问答n twitter inline and send me source code.
It isn't possible. Twitter does not support converting links into videos
The URL for your video is 170+ characters long?
I believe twitter only allows up to 140 characters, and the only way to display videos linked on twitter is if twitter supports that video URL type.
For example, YouTube videos play on Twitter, but only because twitter have put some code in place to recognise the YouTube URL, and play the video.
精彩评论