资源图标

预览 FWTube: Forced to Watch an Embedded Youtube Video 等待分享

无下载权限

Notes

This is the PHP Version of my FWTube Wordress Plugin.
FWTube: Forced to Watch an Embedded Youtube Video - WordPress

Overview

Easily hide partial or all of your premium content from your users until they finished watching an embedded Youtube video.
Features

  • Suitable for: landing page with free giveaway, learning site, site with freemium content, and much more…
  • Your premium content will be hidden until user finished watching your Youtube Video
  • Hide partial or all of your content in any page or post
  • Hide anything you want from your post or page
  • Your content won’t show in Source View
  • Content will stay hidden if user deactivate javascript or cookie
  • Set your video to autoplay
  • Remove the Information bar or Control bar from the Youtube Player
  • You can change the message text and format to your likes
  • Easy to setup, less than 5 minutes to setup.
  • Just add 3 lines of code.
  • Customizable message
  • Cross browser
Requirements

- PHP 5.x
- Basic knowledge writing in PHP
Limitations

  • FW-Tube may not work together with cache system (plugin, CDN, cloudflare, etc).
Inserting FWTube To Your Code


<em><?php include "inc/fwtube.php"; ?>
<html>
<head>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="assets/js/jquery.cookie.js"></script>
</head>
<body>
Your regular content

<?php $FWTUBE['id'] = "zmr2I8caF0c"; // YOU CAN OVERRIDE THE YOUTUBE ID HERE ?>

<strong><?php if (fwtube_is_unlocked()){ // START HIDDEN CONTENT ?></strong>

<p>Your premium content</p>

<strong><?php } ///////////////////////////// STOP HIDDEN CONTENT ?></strong>

Your regular content
</body>
</html>
</em>
Looking for something else?

I have created a few items in CodeCanyon that you may want to take a look:








If you have an idea for a website/plugin or you want something to be made, don’t hesitate to contact me.

作者
0daydown
下载
0
查看
68
首次发布
最后更新
评分
0.00 星 0 星

来自0daydown的更多资源

ZIY 会员微信群