Horje
The easiest and most advanced solution to selling videos with WordPress and EasyDigitalDownloads Wordpress Tutorial

Noted That:

  • To install correctly this easydigitaldownloads-hoststreamsell-extension.zip .
  • Fisrt Download the easydigitaldownloads-hoststreamsell-extension.zip to your computer
  • Extract/Open easydigitaldownloads-hoststreamsell-extension.zip to Your Computer.
  • Then, Find readme.txt file inside easydigitaldownloads-hoststreamsell-extension.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.

Start the Tips:

1. First Download " easydigitaldownloads-hoststreamsell-extension.zip " Plugin to your Local Computer. (Click Download)

2. Then, Login to your " yourdomain.com/wp-admin " Dashboard.

/stack/wp/e1593231376d7d849d2-4597-4fa3-a6ff-1eca18f72aab.png

3. Then, Click on " Plugins " + " Add New " from left sidemenu of Dashboard.

/stack/wp/e1593231378Screenshot20.png

4. Now, Click on "Upload Plugin" button.

/stack/wp/e1593231380Screenshot-2019-4-2AddPluginsHorjeWordPress.png

 

5. Now, Browse " easydigitaldownloads-hoststreamsell-extension.zip "  Downloaded plugin from your computer, Where you downloaded easydigitaldownloads-hoststreamsell-extension.zip According to Step – 1 Above then, click on " Install Now"

/stack/wp/e15931461531577025694plugin.png

6. Now, Click on " Active Plugin"

/stack/wp/e15932313830ca45529-bf73-4101-8178-53ae60ce549f.png

7. Then, See left sidemenu. " Easy Digital Downloads HSS Extension for Streaming Video " folder is added on left sidemenu. Now, Click on " Easy Digital Downloads HSS Extension for Streaming Video " folder.

   Noted that: If you do not see " Easy Digital Downloads HSS Extension for Streaming Video " folder on left sidemenu then, see at left sidemenu " Settings " or " Tools ".

8. Now you configure yourself oR Watch video tutorial below about  Easy Digital Downloads HSS Extension for Streaming Video Configurtions and Settings or How to work " Easy Digital Downloads HSS Extension for Streaming Video " in your WordPress site.

 

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " Easy Digital Downloads HSS Extension for Streaming Video " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is Easy Digital Downloads HSS Extension for Streaming Video
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide
  1. Sign up for a free trial account on
    HostStreamSell.com
  2. Upload, encode, and organize your videos
  3. Install EasyDigitalDownloads and this plugin
    • Go to Settings > HSS Admin and enter API key from your HostStreamSell account and press Save
    • Click the Update key to Pull video information from HostStreamSell platform and insert video all products into the system automatically
    • Go to Videos & Downloads > Settings and then select the Misc tab at the top of the page. Check the box for ‘Disable Guest Checkout’ and press Save Changes

See https://easydigitaldownloads.com/themes/ for some pre built options for themes specifically designed to work with Easy DigitalDownloads.
https://easydigitaldownloads.com/themes/edd-starter-theme/ is a nice free theme which is a good starting point.

Create a page with the [download_history] shortcode if you want customers to be able to see all videos purchased and download a copy. You will place the history-downloads.php template file provided in a directory called edd_templates in your theme directory (rename from history-downloads.php.txt to history-downloads.php).

This plugin requires your customer to register on your website, as their WordPress user ID in your database will be used in our system for adding (and later verifying) access to a video. This requires that they log in every time they come back to your website and want to stream or download their purchased videos. A sample history-downloads.php template file is included with this plugin to allow you easily create a page showing a users purchased videos, links to the videos, and download links (if you have allowed download access). See EasyDigitalDownloads.com for more details on using this template.

Add the following to your template functions.php file to add some extra information on the video page. Feel free to customize this to your needs – that is why it is outside of the main plugin ????


function hss_edd_append_purchase_info_and_links( $download_id ) { global $post; $video = ""; if($post->
post_type == 'download' && is_singular() && is_main_query()) { if(get_post_meta($post->
ID, 'is_streaming_video', true)) { $options = get_option('hss_options'); $userId = $user_ID; $hss_video_id = get_post_meta($post->
ID,'_edd_video_id', true); $args=array( 'meta_key'=>
 'is_streaming_video_bundle', 'meta_value'=>
 true, 'post_type' =>
 'download', ); _log($args); $my_query = null; $my_query = new WP_Query($args); $groups_found = false; if( $my_query->
have_posts() ) { while ( $my_query->
have_posts() ) { $video_group_post =$my_query->
next_post(); $bundled_videos =get_post_meta($video_group_post->
ID, '_edd_bundled_products', true); if (in_array($post->
ID,$bundled_videos)){ if($groups_found==false){ $video =$video."

"; $video =$video."

This video can be purchased in the following series:
"; $groups_found=true; } $video = $video." "; } } if((!get_post_meta($post-> ID,'_edd_hide_purchase_link', true)) and ($groups_found==true)) $video = $video."
This video can bepurchased on its own:"; elseif(!get_post_meta($post-> ID,'_edd_hide_purchase_link', true)) $video = $video."
Video purchaseoptions:"; } } if(!edd_has_variable_prices($download_id)) $video = $video."
".get_post_meta($download_id,'_price_details', true)."
"; else $video = $video."
"; } if(get_post_meta($post-> ID, 'is_streaming_video_bundle', true)) { $options = get_option('hss_options'); $userId = $user_ID; $video = "
Videos included in this series:
"; $bundled_videos = get_post_meta($post-> ID,'_edd_bundled_products', true); $count = sizeof($bundled_videos); for($counter=0;$counter<$count;$counter++){ $vidpost = get_post($bundled_videos[$counter]); $video = $video." "; } $video = $video."

"; } echo $video; } add_action( 'hss_edd_show_video_purchase_details','hss_edd_append_purchase_info_and_links' ,5);

To create a custom receipt which provides links to the videos purchased, use the following code in your functions.php file, and the EasyDigitalDownloads receipt template


function custom_edd_email_tags($message, $payment_data) { $downloads = maybe_unserialize($payment_data['downloads']); $links = "
    "; foreach($downloads as $download) { if((get_post_meta($download['id'],'is_streaming_video', true)) or (get_post_meta($download['id'],'is_streaming_video_bundle', true))) { $links .= "
  • ".get_the_title($download['id'])."
  • "; if(get_post_meta($download['id'],'is_streaming_video_bundle', true)){ $bundled_videos = get_post_meta($download['id'], '_edd_bundled_products', true); $count = sizeof($bundled_videos); for($counter=0;$counter<$count;$counter++){ $links .= "
  • - ".get_the_title($bundled_videos[$counter])."
  • "; } } } } $links .= "
"; $message = str_replace('{list_video_pages}', $links, $message); return $message; } add_filter('edd_email_template_tags', 'custom_edd_email_tags', 10, 2); Hi {name}, Thank you for your recent purchase. You can access your videos with the following link(s): Note: you need to be logged in to view the full videos {list_video_pages} Price: {price} Receipt ID: {receipt_id} Date: {date}

easiest , advanced , solution , selling , videos , easydigitaldownloads , tutorial ,

Name

Read Article
https://develop.horje.com/learn/1434/reference