3/13/2023 0 Comments Firefox for mac yosemite![]() I have a graphic on my homepage and when you click it plays a YouTube video. You then capture the 'playing' event and hide the overlay exposing the player underneath. When the user clicks on your overlay they will actually be clicking on the YouTube video so the view is counted. One technique if you don't want to show the YouTube player initially is to put an opaque overlay and graphic over the top with pointer-events: none. ![]() This is to prevent fraudulently high view counts. Unfortunately YouTube only counts views to videos when you click directly on the YouTube player itself.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |