View Single Post
Old 02-12-2017, 04:18 PM  
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,053
I have seen that behavior before.

It is because of the size iframe you are using. In chaturbate's scheme when an iframe is too small it assumes mobile and what you see on that is what you are seeing, the window with a play arrow.

The work around (that used to work, I do not know for sure anymore) is to first put up a hidden iframe to a chaturbate embed at full size. Then put up the visible one. The script is making it's decision off the first iframe encountered.

For example. This is without a hidden iframe, when you go there you should see the window with the play arrow:

http://madspiders.com/demos/test_no_hidden.php

Code:
<html>
  <head>
  </head>
  <body style="text-align:center;">

<div style="width:100%;text-align:center">
<div style="height:225px;margin-left:auto;margin-right:auto;">
    
  <iframe scrolling="no" src='chaturbate embed url goers here' style='border:none;height:188px;width:250px;overflow:none;'></iframe>
</div>
</div>
  </body>
</html>
Same thing but with a hidden iframe. This one it should play:

http://madspiders.com/demos/test_with_hidden.php

Code:
<html>
  <head>
  </head>
  <body style="text-align:center;">
<iframe src='chaturbate embed url here' style='border: none;height:440px;width:505px;display:none;'></iframe>
<div style="width:100%;text-align:center">
<div style="height:225px;margin-left:auto;margin-right:auto;">
    
  <iframe scrolling="no" src='chaturbate embed url here' style='border:none;height:188px;width:250px;overflow:none;'></iframe>
</div>
</div>
  </body>
</html>
Hope that helps..

.
__________________
All cookies cleared!
sarettah is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote