-
Hi guys
We use our RSS feed to pass the content of posts to our app. If a post contains the fvplayer shortcode, the video player works well on the website, but in the feed only an image is displayed linking to the web page. We would like the video to be embedded in the feed.
For example – with [fvplayer src="https://youtu.be/tA-SLHNG0FE"]:
<p class="fv-flowplayer-feed"><a href="http://maroelamedia.co.za/vreemdhede/video-menseketting-red-hond-uit-stormwater-uitloopkanaal/" title="Click to watch the video">[This post contains video, click to play]<br /><img src="http://i2.wp.com/img.youtube.com/vi/tA-SLHNG0FE/maxresdefault.jpg?w=400&ssl=1" data-recalc-dims="1" /></a></p>
WordPress’s default behaviour is to create an iframe that works well by embedding the video in our app.
For example – with https://youtu.be/tA-SLHNG0FE:
<iframe class='youtube-player' type='text/html' width='640' height='390' src='http://www.youtube.com/embed/tA-SLHNG0FE?version=3&rel=1&fs=1&autohide=2&showsearch=0&showinfo=1&iv_load_policy=1&wmode=transparent' allowfullscreen='true' style='border:0;'></iframe>
Any help would be appreciated. Thank you, Kobus.