ドメイン制限されている場合の埋め込み方法

YouCanBookMeの予約ページをWebページに埋め込んで利用しています。
特定のユーザがドメイン制限のかかっている環境でアクセスしていて、以前はiframeで埋め込んでいて問題なく動作したのですが、scriptにしてから表示がされなくなってしまいました。

これはどのように解決すれば良いでしょうか?
また許可すべきドメインなどあればご教示いただきたいです。

Hi,

It could be that your CMS is not firing the script to retrieve the URL. If the script is not helping your case, you can go back to the iframe.

Here’s an example we recommend:

<iframe src="https://yourdomain.youcanbook.me/?
embed=true"   
	id="ycbm"

style="width:100%;height:1000px;border:0px;background-color:transparent;"
frameborder="0"   allowtransparency="true"></iframe> 

<script>   
window.addEventListener && window.addEventListener("message", function(event){     if (event.origin === "https://yourdomain.youcanbook.me"){


document.getElementById("ycbm").style.height = event.data + "px";  
	}}, false); 
</script>

Just replace the yourdomain for the subdomain of your booking page in YouCanBookMe.

Hi,

Thank you for your reply.
Sorry for late reply.

I tried the method you suggested, but the situation did not change.

I also tried implementing only an iframe like before the upgrade, but it was no longer able to be displayed.
(It was my understanding that the display was possible before the upgrade the other day…)