vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Video Club (YouTUBE, Vimeo, DailyMotion etc) (https://vborg.vbsupport.ru/showthread.php?t=324885)

paradoxG(r)eek 04-06-2017 03:51 PM

Quote:

Originally Posted by BadgerDog (Post 2584892)
Here's the full link for the original video example I used..

https://www.youtube.com/watch?v=2FZv6NCIRcU

Regards,
Doug

Edit: See attached pic which shows the error when I paste any YouTube or Vimeo link into the field and click submit ..

https://www.cmsbulletin.com/demo/vb4...iewvideo&id=14

As you can see in my installation it works. Only thumbnail is missing as it's an old video. That's why in the next release I'll give to user the ability to upload a thumbnail if it does not exists (or if they don't like the default).

So there is an error in your side. Are you sure that your YouTUBE Api key is correct?

BadgerDog 04-06-2017 03:53 PM

Quote:

Originally Posted by paradoxG(r)eek (Post 2584893)
[url]

So there is an error in your side. Are you sure that your YouTUBE Api key is correct?

I put the following API in which is what I was assigned... (note .. I altered the numbers for security)

youtube-1234567

Edit: For clarity, it's not the really LONG bunch of at least 20-30 numbers/characters string they refer to as the KEY. Correct? It's just the smaller string like youtube-1234567... yes?

paradoxG(r)eek 04-06-2017 03:57 PM

Can't understand if a key is valid or not. In anycase try this key below and let me know.
AIzaSyAQRBt4yPO3NoKeIFQwrgqiZUP-vhTeg3g

lillylissy 04-06-2017 04:01 PM

Yes, actually this API-Key works!

BadgerDog 04-06-2017 04:06 PM

Quote:

Originally Posted by paradoxG(r)eek (Post 2584895)
Can't understand if a key is valid or not. In anycase try this key below and let me know.
AIzaSyAQRBt4yPO3NoKeIFQwrgqiZUP-vhTeg3g

That API key also works for me! :eek:

Yet, the same long string like that they assigned to me doesn't work .. :confused:

I get a "Photo Upload" error using the one they assigned me?

Regards,
Doug

Edit: Although I get NO thumnails? (see attached).. directories are set to 777

paradoxG(r)eek 04-06-2017 04:06 PM

Quote:

Originally Posted by lillylissy (Post 2584896)
Yes, actually this API-Key works!

Then you've set wrong API key data. Here is a useful tutorial on how to obtain a YouTUBE API3 key:
https://www.slickremix.com/docs/get-...y-for-youtube/

paradoxG(r)eek 04-06-2017 04:12 PM

Quote:

Originally Posted by BadgerDog (Post 2584897)
Edit: Although I get NO thumnails? (see attached).. directories are set to 777

When you're fetching data (before submit for save), thumbnail appears ok at the bottom of the form? If yes, then the script can't copy the thumbnail from YouTUBE to your site. One of the follow exists:
1.- Path is not correct
2.- /thumbs/ and thumbs/tmp/ (both or one of 2) has not permission to write. Some servers don't need 777. They work fine with 755. So try with 755

BadgerDog 04-06-2017 04:29 PM

Quote:

Originally Posted by paradoxG(r)eek (Post 2584900)
When you're fetching data (before submit for save), thumbnail appears ok at the bottom of the form? If yes, then the script can't copy the thumbnail from YouTUBE to your site. One of the follow exists:
1.- Path is not correct
2.- /thumbs/ and thumbs/tmp/ (both or one of 2) has not permission to write. Some servers don't need 777. They work fine with 755. So try with 755

1. Path is what your forumpath.php program returned..

Set to /var/www/html/mywebsite/videoclub/thumbs

2. Tried \thumbs and \thumbs\tmp at both 777 and 755....

Still no thumbnails... I also notice that I imported only one video and I have two blank thumbnails showing, saying "no preview" ..

BadgerDog 04-06-2017 04:35 PM

Quote:

Originally Posted by paradoxG(r)eek (Post 2584900)
When you're fetching data (before submit for save), thumbnail appears ok at the bottom of the form? If yes, then the script can't copy the thumbnail from YouTUBE to your site. One of the follow exists:
1.- Path is not correct
2.- /thumbs/ and thumbs/tmp/ (both or one of 2) has not permission to write. Some servers don't need 777. They work fine with 755. So try with 755

"If yes, then the script can't copy the thumbnail from YouTUBE to your site"...

Thumbnail DOES NOT appear at that point ... (see attached)

Also, I got my API Key by following your link in the main instruction set at top of page here..

Regards,
Doug

paradoxG(r)eek 04-06-2017 04:36 PM

Can you give me your installation url and a demo user account with permissions to post video?


All times are GMT. The time now is 07:41 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02604 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete