sifuhall 0 Posted August 9, 2014 Report Share Posted August 9, 2014 I haven't had a reason to script a bot that uses flash until now and I'm having a bit of difficulty. I'm trying to click the start button to play a video and the player is JWPlayer (flash, I believe). What's happening is my bot tries to download the video instead of playing it. Have any of the bot super developers here encountered this? Any suggestions for how to start a video in JWPlayer? Quote Link to post Share on other sites
UBotDev 276 Posted August 9, 2014 Report Share Posted August 9, 2014 If it's flash you'll have to use image recognition to click the play button for example.Like: click(<image="___IMAGE___0___IMAGE___">, "Left Click", "No") Notice that in UBot ____IMAGE___0____IMAGE____ is actually an image, but unfortunately can't be copy pasted. I've tried it on this player: http://www.jwplayer.com/ and it worked (in UBot v4). Quote Link to post Share on other sites
sifuhall 0 Posted August 9, 2014 Author Report Share Posted August 9, 2014 Thanks for the reply. I must still be doing something wrong because I still get a "Save As" popup. Here is a screenshot of the button I'm trying to click. And here is my code: And if I view the code it is: click(<image="___IMAGE___0___IMAGE___">, "Left Click", "No") Quote Link to post Share on other sites
sifuhall 0 Posted August 9, 2014 Author Report Share Posted August 9, 2014 Another clue maybe? If I go to:http://www.jwplayer.com/ inside Ubotstudio and manually click the play button it still tries to download the file with the Save As dialog? Quote Link to post Share on other sites
UBotDev 276 Posted August 9, 2014 Report Share Posted August 9, 2014 Then it must be UBot v5, because it works in v4. Right? Quote Link to post Share on other sites
sifuhall 0 Posted August 9, 2014 Author Report Share Posted August 9, 2014 It works from my browsers (FF, Chrome, IE) but from inside Ubot Studio (ver 4) it doesn't work for me. I did a desktop recording in hopes that would help. http://youtu.be/k7RyfRvXreM Quote Link to post Share on other sites
UBotDev 276 Posted August 9, 2014 Report Share Posted August 9, 2014 Works OK here (I didn't post any video before because it looks like screencast is down again): What user agent are you using, maybe that's the problem? Else I would suggest you try to re-install UBot... Quote Link to post Share on other sites
sifuhall 0 Posted August 10, 2014 Author Report Share Posted August 10, 2014 Thanks for all the help. I've uninstalled and reinstalled with no luck but I will continue to troubleshoot. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.