HTML5 – The problem with the Video inside the Spoiler details
-
The new version of the template has a code that rewrites my CSS to insert a video.
The problematic part of the code in the main JScript file:// Scale based on ratio, thus retaining proportions. video.style.width = iTargetWidth + 'px'; video.style.height = ( video.dataset.origheight * ratio ) + 'px';
You can read more about my problem in this topic: https://www.ads-software.com/…spoiler-html5-details/.
Previously, in the old versions of the template, everything was fine. Now I had to use !important in my css to embed a video.
- The topic ‘HTML5 – The problem with the Video inside the Spoiler details’ is closed to new replies.