My last post was deleted for some reason.
I have a few questions while using the color element in layout builder for video backgrounds.
1. How can I stop playback? i don’t want looping. just one play until the screen is refreshed
2. any tips on mobile video formats? currently i have set to display a jpg since video is not playing. i’ve used recommend settings found online, with no luck.
3. how to change the viewport height to something other than 25, 50, 75, and 100%? i want custom % or pixels?
thanks in advance,
larry
Hey Publicus!
For #1 there isn’t currently a way to do that. We’ve tried a few things internally but Kriesi is still looking to add some more options for things like that once the playback bugs that are live get taken care of.
2) HTML5 formats in general is the best bet. You can use fallback as needed for the most flexibility as long as the video files are in the same folder with the same name but a different extension.
3) You would need to give the item either a custom class name or if its a color section its own ID and then specifiy your custom height via css. See: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/
I deleted your post in the video debugging topic because it was off-topic for that specific thread. I know I step on a few toes when I do that but it helps immensely to keep single use stickied topics clear of any general questions.
Regards,
Devin
Thanks Devin,
For self hosted videos, i’ve found that Safari and Chrome uses mp4, Firefox uses ogg.
I’ve read that iPhone and iPad require nothing more than 640×480, 2.5mb, mpg4 format. But i tried it and it didn’t work.
Thanks for the ALB tip