Page 6 of 6 FirstFirst ... 456
Results 51 to 59 of 59
  1. #51
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    Default Re: Product videos from youtube

    Hi

    Yes I tried wnP8J6I8654 as well but some reason after entering the code below in the tpl_product_info_display.php,

    ===VIDEO INSERT DOES SHOW IN ADMIN PRODUCT INSERT PAGE AS BELOW ===========================
    Product Video - Player Size 230 x 140 330 x 200 430 x 260 530 x 320

    YouTube Video ID (example: X_mU1bUK0pU) : v=wnP8J6I8654&t=12s [Add / Update]
    To delete the current Video, enter REMOVE (in capital letters) in the text box above and click Add/Update.
    =============================

    PROBLEM OCCURS:
    1. Page footer dissapears (as your code entered just before <!--bof Product date added/available--> and also before my page footer code.
    2. YouTubeVideo does not show in the http://www.qbrands.com.au/index.php?...r_of_uploads=0 .

    If you kindly look/serach at the code below I supplied you will see your code right below the
    <?php //////////////////////////OAVS youtube code begins here/////////////// ?>

    ...your you tube code
    Downunder QLD

  2. #52
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Product videos from youtube

    Quote Originally Posted by oavs View Post
    YouTube Video ID (example: X_mU1bUK0pU) : v=wnP8J6I8654&t=12s [Add / Update]
    Should be:
    Code:
    YouTube Video ID (example: X_mU1bUK0pU) : wnP8J6I8654 [Add / Update]
    Also, all video ID's are entered into the Admin section--there is nothing else you to do, add or change anywhere else.
    Last edited by Website Rob; 13 Jul 2017 at 05:02 AM.

  3. #53
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    Default Re: Product videos from youtube

    Yes thank you for reminding me again and I did use the code as you advised as 'wnP8J6I8654'

    Problem is it is not showing in the tpl_product_info_display.php page due the reasons explained my previous post.

    Here is the problem again.

    PROBLEM OCCURS:
    1. Page footer dissapears (as your code entered just before <!--bof Product date added/available--> and also before my page footer code.
    2. YouTubeVideo does not show on the page >>> http://www.qbrands.com.au/index.php?...r_of_uploads=0 .

    after entering your code ...your you tube code

    <?php //////////////////////////youtube code begins here/////////////// ?>
    <?php // boc product video
    if ($sniffer->table_exists(TABLE_PRODUCTS_VIDEOS) && (defined('PRODUCT_VIDEOS_STATUS') && PRODUCT_VIDEOS_STATUS == 'true')) {
    require($template->get_template_dir('/tpl_modules_youtube.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_youtube.php');
    }
    // eoc product video
    ?>
    <?php //////////////////////////youtube code ends here/////////////// ?>

    <!--bof Product date added/available-->

    If you kindly look/search at the complete code in the file tpl_product_info_display.php below I supplied in my previous post below you can see its exact positioning.
    Downunder QLD

  4. #54
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Product videos from youtube

    Did you enable the module as mentioned in the readme.txt? (it is disabled by default)

    Are you seeing any error log files in the 'logs' dir. related to this problem?

  5. #55
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Product videos from youtube

    It also looks like there is incorrect coding on your 'tpl_product_info_display.php'

    If you remove all the module code, does the footer show?

    remove
    Code:
    <?php //////////////////////////OAVS youtube code begins here/////////////// ?>        
     <?php  // boc product video
       if ($sniffer->table_exists(TABLE_PRODUCTS_VIDEOS) &&  (defined('PRODUCT_VIDEOS_STATUS') && PRODUCT_VIDEOS_STATUS ==  'true')) {
          require($template->get_template_dir('/tpl_modules_youtube.php',DIR_WS_TEMPLATE,  $current_page_base,'templates'). '/tpl_modules_youtube.php');
       }
            // eoc product video
     ?>     
    <?php //////////////////////////OAVS youtube code ends here/////////////// ?>
    Also, did you previously have this module installed?

  6. #56
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    Default Re: Product videos from youtube

    Did you enable the module as mentioned in the readme.txt? (it is disabled by default) : YES I have enabled it.

    Are you seeing any error log files in the 'logs' dir. related to this problem? : No and there is no log file.

    On the page code view I can see the video code.

    When page loads first time IO can see in a flash at the bottom of the product image ...swf icon ..that' all

    <!-- ////////////////////////// youtube code begins here/////////////// -->

    <br>
    <div class="centeredContent">

    <object data="movie.swf" type="application/x-shockwave-flash" width="330" height="200">
    <param name="movie" value="https://www.youtube-nocookie.com/embed/wnP8J6I8654">
    <embed src="https://www.youtube-nocookie.com/embed/wnP8J6I8654" width="330" height="200">
    </object>

    </div>
    <br>

    <!-- ////////////////////////// youtube code ends here/////////////// -->

    <!--bof Product date added/available-->
    Downunder QLD

  7. #57
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Product videos from youtube

    You have a lot of coding errors on your Product Info pages which need to be corrected.

    For example, before the module code there are 3 unclosed DIV tags.

    Unclosed element div.

    From line 642, column 7; to line 642, column 32

    <div class="page-content">


    Unclosed element div.

    From line 641, column 5; to line 641, column 28

    <div class="tie-indent">


    Unclosed element div.

    From line 640, column 3; to line 640, column 19

    <div class="tie">


    Your current problems with the module not displaying are not related to the module code but to the other coding errors. The module code itself works fine but when there are a lot of coding errors, they need to be corrected first.

  8. #58
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    Default Re: Product videos from youtube

    I have removed the plugin sorry. Too many file changes just add a video.
    Find a simpler solution.
    http://www.qbrands.com.au/index.php?...roducts_id=311


    Thank you for guiding through. Much appreciated.
    Downunder QLD

  9. #59
    Join Date
    Aug 2009
    Posts
    26
    Plugin Contributions
    0

    Default Re: Product videos from youtube

    Using version 1.5.4, all installed, and video turned on in admin, when I enter the code in the video id in the product description it doesn't stay there after Add/Update, refreshes and won't show any video on product page. looked at logs, no related errors (I only get a php warning: PHP Warning: htmlspecialchars(): charset `iso-8559-1' not supported, assuming utf-8 in, but that wouldn't have to do with it?)

 

 
Page 6 of 6 FirstFirst ... 456

Similar Threads

  1. Embedding YouTube videos on Product pages
    By ailtait in forum General Questions
    Replies: 24
    Last Post: 23 Nov 2022, 10:56 AM
  2. v155 Default Attribute - Add from product list [Support Thread]
    By swguy in forum Addon Admin Tools
    Replies: 9
    Last Post: 6 Jul 2020, 01:13 PM
  3. v139h adding youtube videos to products - annoying error
    By kitcorsa in forum General Questions
    Replies: 1
    Last Post: 23 Jul 2013, 02:30 PM
  4. Imbedding YouTube videos into ez-pages
    By strugglingnovice in forum General Questions
    Replies: 18
    Last Post: 14 Apr 2012, 01:16 AM
  5. Is there a way to embed my youtube videos?
    By outeredge2 in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 20 Aug 2010, 02:07 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR