Hi, thanks for the reply, I did as you suggested, i copy the code and make a “youtube_button.png” from screencapture. (use mspaint to crop the image). Load the youtube_button,png file in visual tab, and click the addname to target box. Save it and play.
The macro play just fine, but nothing happened. Xclick seems able to find the play button, but the video is not playing.
This is the youtube_button.png:

Source code:
{
“Name”: “topediframetester”,
“CreationDate”: “2018-12-20”,
“Commands”: [
{
“Command”: “open”,
“Target”: “https://a9t9.com/kantu/demo/iframes”,
“Value”: “”
},
{
“Command”: “click”,
“Target”: "//[@id=“content”]/div[2]/div/p[5]",
“Value”: “”
},
{
“Command”: “XClick”,
“Target”: “youtube_button.png”,
“Value”: “”
}
]
}
Log:
[status]Playing macro topediframetester
[info]Executing: | open | https://a9t9.com/kantu/demo/iframes | |
[info]Executing: | click | //[@id=“content”]/div[2]/div/p[5] | |
[info]Executing: | XClick | youtube_button.png | |
[info]Macro completed (Runtime 7.15s)