Hidden elements
-
You should consider object visibility I think.
Let’s assume you use shortcode to present video on some page but container which holds Lyte element is hidden. Once you make it visible onclick action won’t work. I think you should check whether object is really visible or not. Proposed change in lyte.(min).js:for (var i = 0, lln = lts.length; i < lln; i += 1) { p = lts[i]; if(p.offsetParent !== null) { //CHECKS WHETHER OBJECT IS VISIBLE OR NOT vid = p.id.substring(4); if (mOs === null) {Once block shows (i.e. popup) developer will be able to execute
ly.te()once again and display correct video instance. What do you think?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘Hidden elements’ is closed to new replies.