Skip to content
This repository has been archived by the owner on Aug 22, 2021. It is now read-only.

Commit

Permalink
Fix block quick play : player link.
Browse files Browse the repository at this point in the history
+ Fix block quick play : player link. Not cross domain.
  • Loading branch information
anhyeuviolet committed Aug 1, 2016
1 parent a3b6c7b commit 1ea4fc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/videos/blocks/global.block_cat_quickplay.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ function nv_block_videos_cat_quickplay($block_config)
$href_vid = nv_get_video_href($l['vid_path'], $l['vid_type']);

$xtpl->assign('ROW', $l);
$link_player = NV_MY_DOMAIN . NV_BASE_SITEURL . $site_mods[$module]['module_file'] . '/player/' . rand(1000, 9999) . 0 . '-' . md5($l['id'] . session_id() . $global_config['sitekey']) . '-' . rand(1000, 9999) . $l['id'] . $global_config['rewrite_endurl'];
$link_player = NV_BASE_SITEURL . $site_mods[$module]['module_file'] . '/player/' . rand(1000, 9999) . 0 . '-' . md5($l['id'] . session_id() . $global_config['sitekey']) . '-' . rand(1000, 9999) . $l['id'] . $global_config['rewrite_endurl'];
$xtpl->assign('PLAYER', $link_player);
}

Expand Down

0 comments on commit 1ea4fc2

Please sign in to comment.