Any idea on how to integrate CakePHP 2.6 and ViewerJS into an iFrame?
The code below shows an empty ViewerJS frame.
If I try to show only the resource, it works. I have the right paths to ViewerJS and the file, but it still doesn't work.
<iframe src="<?php echo $this->webroot; ?>ViewerJS/#../<?php echo $atividade['Atividade']['caminho'] ?>"
width='400' height='300' allowfullscreen webkitallowfullscreen></iframe>