Featured Video Twitch.TV

Posted in: Newsmag
Post count: 15

Hi I would like to be able to embed twitch livestreams in my posts. So, I would like to just add a link like “https://player.twitch.tv/?channel=callofduty” (which is the link used for embeding the livestream) and have it show up in the featured video iFrame. Could you guys tell me how I could go about doing this?
Thanks, CJ

Post count: 6535

Hi

Our theme have support only for videos from youtube, vimeo and dailymotion. Adding a new network require many customizations in theme’s files and also lots of tests to make sure the will work fine. The file which must be edited to add video support for a new network is td_video_support.php: http://screencast.com/t/hTHdxM5q
Note that this is a very complex task which require many customizations in theme’s files and also good coding skills are involved in order to complete it. We can’t offer customization services at the moment so if you still need guidance on this or you’re not aware of the steps you need to take in this regard please consider hiring a developer or a freelancer to do this for you.

Thanks for the message!

Post count: 2

How to replace this field just for any iframe video?
That must be simple – just put your iFrame code of any video in that placeholder.

How to customize it within template files?

Post count: 6535

Hi

Please provide more detail about what you’re trying to do as I am not sure what you mean. Also a screen pointing the desired result would help.

Thanks!

Post count: 2

Just place any iFrame video within vpb_video_wrapper div.
Is it possible? For example, we have Featured video field. We put an iframe code with embed video withih it.
And the system puts the iframe code within vpb_video_wrapper div.

That must work with any video provider.

Post count: 6535

Hi

You could try a custom js which append a new css class to each iframe element from the page body. Here you can find some information which may help you in this regard: http://stackoverflow.com/questions/11658011/cannot-modify-content-of-iframe-what-is-wronghttp://code.tutsplus.com/tutorials/how-to-inject-custom-html-and-css-into-an-iframe–net-22826

Thanks!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newsmag’ is closed to new topics and replies.