{% set handler = mediamanager.getHandler(media) %}
{% set helper = handler.getFormHelper(media) %}
{% if helper.type == 'youtube' %}
<div class="video-pp youtube-pp">
    <iframe width="560" height="315" src="http://www.youtube.com/embed/{{ helper.code }}" frameborder="0" allowfullscreen></iframe>
</div>
{% elseif helper.type == 'vimeo' %}
<div class="video-pp vimeo-pp">
    <iframe src="http://player.vimeo.com/video/{{ helper.code }}" width="500" height="290" frameborder="0"></iframe>
</div>
{% elseif helper.type == 'dailymotion' %}
<div class="video-pp dailymotion-pp">
    <iframe frameborder="0" width="480" height="270" src="http://www.dailymotion.com/embed/video/{{ helper.code }}"></iframe>
</div>
{% endif %}

{% set handler = mediamanager.getHandler(media) %}
{% set helper = handler.getFormHelper(media) %}
{% if helper.type == 'youtube' %}
<div class="video-pp youtube-pp">
    <iframe width="560" height="315" src="//www.youtube.com/embed/{{ helper.code }}" frameborder="0" allowfullscreen></iframe>
</div>
{% elseif helper.type == 'vimeo' %}
<div class="video-pp vimeo-pp">
    <iframe src="//player.vimeo.com/video/{{ helper.code }}" width="500" height="290" frameborder="0"></iframe>
</div>
{% elseif helper.type == 'dailymotion' %}
<div class="video-pp dailymotion-pp">
    <iframe frameborder="0" width="480" height="270" src="//www.dailymotion.com/embed/video/{{ helper.code }}"></iframe>
</div>
{% endif %}

Use // and not http/https
Use // and not http/https
