Ciao,
Sono un cliente pagante che cerca di ottenere una schermata di un file elemento contenente un tweet incorporato sovrastato da un file watermark. Il problema è che ottengo uno screenshot solo del file watermark. Ecco il mio codice ... cosa sto facendo di sbagliato?
#tweet {
position: relative;
indice z: 1! importante;
larghezza: 500 px! importante;
margine-sinistra: -8px;
margine superiore: -10px;
}
.watermark {
posizione: assoluta;
in alto: 60px;
sinistra: 100px;
indice z: 10! importante;
Schermo:watermark'] == 0) {$watermark = "nessuno"; } elseif ($ _ GET ['watermark'] == 1) {$watermark = ""; } echo $watermark; ?>;
}
#tweet iframe {
bordo: nessuno! importante;
box-shadow: nessuno! importante;
}
.copywrite p {
posizione: assoluta;
sinistra: 0;
margine superiore: -9px;
famiglia di caratteri: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
font-size: 12px;
color: # a2a6a8;
}
Tweet Screen Shot Feeder
">
-->
<img src="images/watermark.png "class ="watermark"/>
</div>
Screenshot del Tweet di https://sane.social © su ";?>
</div>
window.onload = (function () {
var tweet = document.getElementById ("tweet");
var id = tweet.getAttribute ("tweetID");
twttr.widgets.createTweet (
id, tweet, {
conversazione: 'none', // o all
carte: 'visibile', // o visibile
tema: 'chiaro' // o scuro
})
.then (function (el) {
el.contentDocument.querySelector (". footer"). style.display = "none";
});
});
GrabzIt ("XXXX ="). ConvertPage (window.location.href, {"target": "#content", "bheight": -1, "height": -1, "width": -1}). AddTo ( "tweetshot");