Hi, is’t possible to input video from other soursec (example <iframe src=”//vk.com/video_ext.php?oid=-95516353&id=171334001&hash=7e55a27f69f2f8b7&hd=2″ width=”853″ height=”480″ frameborder=”0″></iframe>) in video post (style 1.1)
Can you help with that? Thanks!
Hi,
The featured video spot supports only youtube, vimeo and daily motion url, I guess that this is what you mean. Unfortunately this is how this feature was designed to pull also the video thumbnail(to be used on modules), so if you use another url(except those supported) it will not work, sorry.
Thanks!
Ok, next quastions. I try to input video in post (example <iframe src=”//vk.com/video_ext.php?oid=-95516353&id=171334001&hash=7e55a27f69f2f8b7&hd=2″ width=”853″ height=”480″ frameborder=”0″></iframe>) but but this video is not mobile friendly (not adaptive for screen size). Haw fix it?
I mean, that video post looks terrible on mobile devices.
-
This reply was modified 10 years by
Zakkery.
Hi,
If you add the iframe like this with a fixed width and height it is normal to not look good on mobile devices. Yuo will have to add a class to the iframe like this – http://screencast.com/t/CZ1RGKlb and use media queries for specific devices, for example add this custom css in Theme Panel > Custom Css – http://screencast.com/t/6m3b6CrGP63 – http://screencast.com/t/IFlaeGCp – http://screencast.com/t/jOaVFgv3yokV
@media(min-width: 300px) and (max-width: 568px) {
iframe.vk-video1 {
width: 100%;
height: 200px;
}
}
@media(min-width: 569px) and (max-width: 767px) {
iframe.vk-video1 {
width: 100%;
height: 300px;
}
}
@media(min-width: 768px) and (max-width: 1018px) {
iframe.vk-video1 {
width: 484px;
}
}
@media(min-width: 1019px) and (max-width: 1140px) {
iframe.vk-video1 {
width: 640px;
}
}
You can use vk-video1 class for each iframe and the above css will be applied or you can add a different class for each videos and add you own custom css.
Hope this helps!
Nice, thanks! And last quastion: is’t possible to add “useful border for series” to video from other soursec (not youtube and vimeo). Example <iframe src=”//vk.com/video_ext.php?oid=-95516353&id=171334001&hash=7e55a27f69f2f8b7&hd=2″ width=”853″ height=”480″ frameborder=”0″></iframe>
http://i11.pixs.ru/storage/2/6/8/111jpg_6197952_18874268.jpg
Hi,
Unfortunately the playlist blocks works only with youtube and vimeo videos, sorry!
Thanks!