Video stop showing
-
I had video with the slider in my site and it stop showing
this is the site
https://www.pic-plast.com/
-
Hi @mstudioil!
Your issue happens, because we have been contacted by wp.org, that we have to create limitations against custom coding, which affected all layers. You can see here:
https://smartslider.helpscoutdocs.com/article/1832-text-layer
within the yellow notice, what html tags are allowed now within the text layer. This does not includes the <video> html tag, so I’m sorry, but in the future in the Free version of Smart Slider you won’t be able to display an mp4 video, not even with custom codes. For mp4 videos you would need the Pro version’s video layer:
https://smartslider.helpscoutdocs.com/article/1845-video-layerIn the Free version for videos only the Youtube and Vimeo layers are allowed:
https://smartslider.helpscoutdocs.com/article/1846-youtube-layer
https://smartslider.helpscoutdocs.com/article/1847-vimeo-layer
so currently I can only suggest uploading your video to one of these websites, if you want to display it.Thanks, I add using the YouTube option but the slider is to height, how can I fix this?
I want to remove the black strips on the video
Can I also remove the YouTube logo?
If I use the pro version I still can’t use the <video>?
If I use the pro version, can I make it look as it was before?
Why they asked you to remove the custom coding? security issues?Hi @mstudioil
1) Slider height
Check the Aspect Ratio of your video:
https://smartslider.helpscoutdocs.com/article/1846-youtube-layer#aspect-ratio
and make sure it matches the video’s. Also please note that the height of your slider depends on your tallest layer, so if your video needs more vertical space, it will enlarge the whole slider.2) Hiding YouTube Logo
YouTube allows hiding their logo from the “toolbar” as you can see here:
https://smartslider.helpscoutdocs.com/article/1846-youtube-layer#hide-youtube-logoBut if you’re rather looking for a “background video like” experience, you should set up your video like this:
https://smartslider.helpscoutdocs.com/article/1846-youtube-layer#how-to-use-the-youtube-layer-as-a-background-video3) MP4 video with the video tag
In the Pro version there’s a Video layer where you can use mp4 videos without writing code. If you have any further questions about Smart Slider 3 Pro please contact us directly:
https://smartslider3.com/help/#n2-ss-333item15
As per forum rules, commercial products are not supported in these forums. This includes any presales topics as well.4) Custom code removal
Every field should only allow adding content that was meant to be there to enhance security. Like a text layer that displays the content in a p tag should only allow tags which are allowed inside the p tag by HTML’s standards:
https://html.spec.whatwg.org/#phrasing-content
The video tag is not something that’s allowed inside the p tag so it’s no longer allowed by Smart Slider either.Thanks for the help. I used the background option, it there to remove the image shown before the video is started ?
Hi @mstudioil
The image you see is either the cover image you can set in Smart Slider at the YouTube layer > Cover image. If you have an image selected there, you should remove it.
But it can also be the “preview” image YouTube displays before the video starts playing, as you can see on the embeded link:
https://www.youtube.com/embed/TryEIFyrOpg
and I’m sorry but in this case it can’t be removed as YouTube doesn’t offer any option for that.Thanks for the help, I think it is from YouTube.
The client said it look good.
The topic ‘Video stop showing’ is closed to new replies.