Kevin
Well-known member
The lengthy title sums up what I am trying to do but, to clarify a bit, I have a template mod' that adds a YouTube video to an XF sidebar on a particular page. The video is set to autoplay. Using the @media definitions it is possible to turn off the display of the video but it still plays (because it is only suppressing the display of the content, not the inclusion of it).
Any thoughts on being able to disabling the auto-play when the content is suppressed and/or disabling the inclusion of the content altogether based upon the browser size? I've been searching around but finding a viable solution.
Any thoughts on being able to disabling the auto-play when the content is suppressed and/or disabling the inclusion of the content altogether based upon the browser size? I've been searching around but finding a viable solution.