HTML not working
-
Hi there, I am having trouble getting two different HTML links to work on my post.
Could you please look into this?
One of the HTML’s is from Wisita, the other from Stripe. They both show up in the initial preview, but not on the published post or page preview.
Thank you!
Wistia:
https://fast.wistia.com/embed/medias/zjib2lxhn0.jsonphttps://fast.wistia.com/assets/external/E-v1.js<div class=”wistia_responsive_padding” style=”padding:56.25% 0 0 0;position:relative;”><div class=”wistia_responsive_wrapper” style=”height:100%;left:0;position:absolute;top:0;width:100%;”><div class=”wistia_embed wistia_async_zjib2lxhn0 videoFoam=true” style=”height:100%;position:relative;width:100%”><div class=”wistia_swatch” style=”height:100%;left:0;opacity:0;overflow:hidden;position:absolute;top:0;transition:opacity 200ms;width:100%;”>
</div></div></div></div>
Stripe:
<!– Load Stripe.js on your website. –>
https://js.stripe.com/v3<!– Create a button that your customers click to complete their purchase. Customize the styling to suit your branding. –><button id=”checkout-button-price_1LRx8dIVhnqVPJYqMCTYtwwb” style=”background-color:#AFB3A2;color:#FFF;padding:8px 12px;border:0;border-radius:4px;font-size:1em;cursor:pointer;” type=”button”> Pay in Full
redirectToCheckoutfails due to a browser or network
* error, display the localized error message to your customer.
*/
var displayError = document.getElementById(‘error-message’);
displayError.textContent = result.error.message;
}
});
});
})();
</script>https://js.stripe.com/v3/m-outer-e38946e804432be68f641f02ebc1364f.html#url=https%3A%2F%2Fwordtohtml.net%2F&title=&referrer=&muid=f1e91143-c30a-40a1-9548-fba67f32055743fa2a&sid=8dad85e1-4aad-4175-83d3-a5f33e93d543efa8c5&version=6&preview=falsehttps://js.stripe.com/v3/m-outer-e38946e804432be68f641f02ebc1364f.html#url=https%3A%2F%2Fwordtohtml.net%2F&title=&referrer=&muid=f1e91143-c30a-40a1-9548-fba67f32055743fa2a&sid=8dad85e1-4aad-4175-83d3-a5f33e93d543efa8c5&version=6&preview=falseThe blog I need help with is: (visible only to logged in users)
-
Hey there,
That stripe embed code will not work because we do not allow certain tags on WordPress.com, for security reasons, including JavaScript, Flash, iframe, form, and input tags, unless you’re subscribed to the Business Plan:
These restrictions are in place to prevent any disruptions in service due to potentially malicious code.
You can read more about this here:
I would double-check the Wistia code as it appears to be broken code, at least on my end.
Let me know if you have any questions.
Thanks!
- The topic ‘HTML not working’ is closed to new replies.