Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Dante › https Vimeo
New Landing › How can we help? › Themeforest Theme Support › Dante › https Vimeo
- This topic has 10 replies, 6 voices, and was last updated 8 years by Swift Ideas – Ed.
-
Posted in: Dante
-
December 10, 2014 at 7:55 pm #134941
We’ve currently updated our website with an SSL changing our http to https. Since doing so accessing the vimeo full screen video will not work. Our video found here (http://vimeo.com/108526249). I’ve tried adding an s to http but the link will not open then. How can I fix this to play the video? We have a pro account with Vimeo. Thanks
December 11, 2014 at 1:57 am #134983December 11, 2014 at 4:48 pm #135179Yes we did…
December 12, 2014 at 1:50 pm #135385Can you please try adding this to your functions.php file:
function sf_video_youtube($url, $width = 640, $height = 480) { preg_match('/[\\?\\&]v=([^\\?\\&]+)/', $url, $video_id); return '<div class="sf-video-wrap"><iframe itemprop="video" src="//www.youtube.com/embed/'. $video_id[1] .'?wmode=transparent" width="'. $width .'" height="'. $height .'" ></iframe></div>'; } function sf_video_vimeo($url, $width = 640, $height = 480) { preg_match('/http:\/\/vimeo.com\/(\d+)$/', $url, $video_id); return '<div class="sf-video-wrap"><iframe itemprop="video" src="//player.vimeo.com/video/'. $video_id[1] .'?title=0&byline=0&portrait=0?wmode=transparent" width="'. $width .'" height="'. $height .'"></iframe></div>'; } function sf_get_embed_src($url) { if (strpos($url,'youtube')){ preg_match('/[\\?\\&]v=([^\\?\\&]+)/', $url, $video_id); if (isset($video_id[1])) { return '//www.youtube.com/embed/'. $video_id[1] .'?autoplay=1&wmode=transparent'; } } else { preg_match('/https:\/\/vimeo.com\/(\d+)$/', $url, $video_id); if (isset($video_id[1])) { return '//player.vimeo.com/video/'. $video_id[1] .'?title=0&byline=0&portrait=0&autoplay=1&wmode=transparent'; } } }
– Kyle
December 15, 2014 at 3:24 pm #135783Gives me a blank white screen.
December 15, 2014 at 3:27 pm #135784Ok I’ll forward this to Mohammad for you
– Kyle
December 19, 2014 at 3:23 pm #136794Hey guys I’m curious if you have a solution yet for this. It’s been 3 days now and we still haven’t figured out how to fix the video. Thank you for your time.
December 22, 2014 at 7:46 am #137069Hi,
I apologize for delay. It seems shortcode html output issue. I will forward this to developer and he will assist you shortly.
Thanks
MohammadDecember 22, 2014 at 12:11 pm #137223This reply has been marked as private.June 17, 2015 at 7:22 pm #185573Is there any further instruction on this? I am running into the same issue. When I add the “s”, nothing happens, but when I use regular http, the video doesn’t play.
June 17, 2015 at 7:27 pm #185575Hi there,
What URL are you using for the video?
– Ed
-
Posted in: Dante
You must be logged in and have valid license to reply to this topic.