Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2016-12-15 15:35:04

longsack
Member
Registered: 2016-11-26
Posts: 31

HD watermark on HD videos?

I would like to display a HD Watermark on all HD videos on my site via the template, here is what I currently have:

<?php if ($video['ext'] == 'mp4'): ?><img src="<?php echo TPL_REL; ?>/images/hd.png" class="watermark" alt="In HD <?php echo e($video['title']); ?>" /><?php endif; ?>

However this is not optimal because not all "mp4" videos are HD and some FLV files I have earmarked for HD.

Also I see this in the defboot template:
<?php if ($video['hd'] == '1'): echo __('hd'),' '; endif; echo VDate::duration($video['duration']); ?>

However I'm not finding or seeing the ability to mark (or change) a video status to "HD" in the settings?  I have looked in "admin::video::edit", mass and bulk edit?  If it's as simple as changing a setting for the video to HD I can do that, if I know how and then just change the HTML to reflect.

Thanks

Offline

#2 2016-12-15 17:30:56

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: HD watermark on HD videos?

You cannot change the hd setting directly via edit/mass edit/bulk edit. This requires a hd mp4 file. I can howevermodify so that you can edit the video and set it hd(this does not mean the video will be hd, but it will show the hd flag)...


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2016-12-15 18:07:25

longsack
Member
Registered: 2016-11-26
Posts: 31

Re: HD watermark on HD videos?

That would be great!  I have tried to mod myself, but well I can't get it to save in the edit or bulk/mass edit.

Offline

#4 2016-12-16 08:03:07

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: HD watermark on HD videos?

Send me a email with FTP access


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB