I am trying to create a quiz that can be embedded on some other website (and is responsive), the same way as a YouTube embed. When the iframe is tapped, I would like it to fit the viewport of the mobile screen. Is this possible and how can I achieve it?
Currently I have tried making a responsive fullscreen Bootstrap modal loading an iframe, but the problem is that we do not control the parent page content, except for a small piece of embeddable code (since this will be embedded, I cannot make any assumptions on libraries that are included in the parent web page etc)
<div>
<iframe src="http://server/quiz/embed/{{quiz_id}}" style="" frameBorder="0" width="100%" height="768"></iframe>
</div>