skip to Main Content

How to get one that is not hidden tag? – Jquery

I have three similar div tags as shown below: <div data-test="someId" style="position: fixed; visibility: hidden;">more tags</div> <div data-test="someId" style="position: fixed; visibility: hidden;">more tags</div> <div data-test="someId" style="position: fixed;">more tags</div> Note: here data-test id is same for all three. All I want…

VIEW QUESTION

JQuery / JavaScript – change video src in iOS browsers

<div class="videoWrapper" onclick="clickVideo(this);" style="max-width: calc(100% - 2px);"> <video class="video videopreview">'; <source src="" type="video/webm" />'; </video> </div> $('.videopreview source').attr('src', 'https://file-examples.com/storage/fe783a5cbb6323602a28c66/2017/04/file_example_MP4_480_1_5MG.mp4'); this works on PC and Android browsers but not in iOS, any ideas?

VIEW QUESTION
Back To Top
Search