Posting Youtube videos to Twitter with PHP to autoexpand

Discussion in 'Twitter' started by gavin watson, Jun 9, 2015.

  1. #1
    Hello!

    I am trying to post an embedded video to my Twitter feed via PHP script. I am able to do this successfully at the moment.

    My issue is that when the tweet appears in the feed, it appears as a URL only and I have to click 'view media' for the Youtube window to appear and then play the content.

    The desired effect that I would like to achieve is that the tweet displays the expanded media (not automatically playing it) but without the need for anyone to click 'view media'.

    Is this a setting that can be made on post or is it a setting that needs to be changed on the Twitter account to where it is being posted?

    Thanks.
     
    gavin watson, Jun 9, 2015 IP