In one of my sites I have thousands of visitors daily but after one year, the view count for the main video on the start page is still at only 26 views.
I wanted to save load times, that's why I am providing an image with play icon on the page. As soon as the icon gets clicked, I load the youtube iframe via:
$('#introimg').click( function() {
$(this).replaceWith('<iframe width="759" height="426" src="https://www.youtube.com/embed/fduB8MivQUk?wmode=transparent&rel=0&showinfo=1&iv_load_policy=1&modestbranding=1&controls=2&vq=large&autoplay=1" allowfullscreen></iframe>');
});
I found one note here that says:
Views that originate as a result of clicking on one of the native player UI elements (either the play button in the control bar or on the static player image) will normally count towards incrementing the views for a video.
Is this the reason? Because I embed the iframe with autoplay true, so there is no click event.
Would be a workaround to do a replaceWidth and then do a trigger('click')? (Which probably does not work within the iframe...)
Related, but different on stackoverflow:
Youtube embedded video views do not count
Are YouTube view counts incremented when using the iframe Player?