Hi @limone111,
According to the updated Google Privacy Policies you can use the below-mentioned code to autoplay the video.
add_filter( ‘mycred_video_query_youtube’, ‘mycred_adjust_youtube_iframe’ );
function mycred_adjust_youtube_iframe( $attr ) {
$attr[‘autoplay’] = 1;
$attr[‘mute’] = 1;
return $attr;
}
whats the differnce between my posted code and yours??
this code is not working only with microsoft edge browser but nit with chrome, firefox, opera,….
-
This reply was modified 4 years, 8 months ago by limone111.
the next problem is with hook:
* Interval – For each x number of seconds
The next problem is if a user opens 5 windows at the same time and watches the same video, he gets 5 points!?
so this hook is completly unuseable….
-
This reply was modified 4 years, 8 months ago by limone111.
Hi @limone111,
According to myCred it is not possible that a user watches the same video at X times then he gets X points that he set to video hook. Please share with us a screencast video or Screenshots of the scenario of how a user is getting multiple points.
its to much ork ti make a screencastvideo…
but i can tell you i tested it.
for example:
make a page with shortcode [mycred_video id=”xxxxxxxxx”]
then open the page with included shortcode an set your hook for example:
* Interval – For each x number of seconds watched.
open the page 2 or 3 times in differnt tabs or browsers and you will see the user gets simultan points…
———————-
-
This reply was modified 4 years, 8 months ago by limone111.
-
This reply was modified 4 years, 8 months ago by limone111.
-
This reply was modified 4 years, 8 months ago by limone111.
Hi,
As we have tested the video hook as you mentioned.
If a video has a length of 60 seconds and you are providing 1 point for each number of seconds watched. So if you open the page with an included shortcode in 2 to x numbers of tabs the points will not increase from 60.
again….sorry my bad english.
just testetd again…
1. make a page in wordpress and add your mycred_video shortcode.
2. open the page and start the video (hook is set to “each 60 sec = 1 point)
3. open the same page again in a tab or new window and start the video simultaneously
and so on
then take look ad you mycred log page.
you will see that you get points each window where the video is playing.
—————-
its also the same with the mycred_video_hook “Full – First when the entire video has played.”
if you are playing the video in 10 pages you get points x10. (each window pay out)
—————
its a paradise for cheaters….
-
This reply was modified 4 years, 8 months ago by limone111.
Hi @limone111,
As we haved tested your mentioned scenario on our staging environment and it’s working properly fine.
Sharing the ScreenCasted Video below so you can have a look.
https://www.loom.com/share/3092ed39fc0b40608702e2dcb811e5c2
If you have any questions please feel free to ask.
Thanks!
This thread has been marked as resolved due to lack of activity.
You’re always welcome to re-open this topic.
Thanks for understanding!