I’m creating a custom wordpress video player for my site, the problem is when I embed a video instead of playing its downloading
Can anyone help here is the player code -
</header>
<?php get_ads('adsbottomtitle','ads_info'); ?>
<?php if($embd) { ?>
<div class="plarea">
<div class="server_option">
<div id="server">
<?php MaxPlay::server_player(get_the_ID()); ?>
</div>
</div>
<div class="video-content">
<div id="embed_holder">
<div class="player-embed" id="pembed">
<div class="playerload"></div>
<div id="player_embed"></div>
</div>
</div>
</div>
<div class="video-nav">
<div class="itemleft">
<div class="icon expand"><i class="fa fa-expand-arrows-alt"></i> <span><?php _d('Expand');?></span></div>
<div class="icon light"><i class="fa fa-lightbulb"></i> <span><?php _d('Turn on Light');?></span></div>
<div class="icon shares"><i class="fa fa-share-alt"></i> <span><?php _d('Share');?></span></div>
<div class="icon comment"><i class="fa fa-comment"></i> <a href="#comments"><span><?php _d('Comments');?></span></a></div>
<?php east_watch_button(get_the_ID()); ?>
</div>```