YouTube script quits displaying "Tags" info [message #182498] |
Thu, 08 August 2013 22:30 |
super70s
Messages: 3 Registered: August 2013
Karma: 0
|
Junior Member |
|
|
I've had a script on my site for a few years now that pulls videos from
YouTube based on a keyword suffix I set up (BTW I found out that was
being abused by spammers so I had to set up an .htaccess file so that
domain could only be accessed from the main site, but that isn't
directly related to my question).
Several months ago, the "Tags" info next to the video thumbnail started
coming up blank, although the "Author," "Length," "Rating" and "Views"
above the "Tags" info are still working as normal.
Apparently YouTube has changed something that prevents the "Tags" from
displaying as it once did. Am I just SOL on this, or is there any way to
get the "Tags" info working again? The code on the "video.html" page
looks something like this:
<b>Tags:</b> {tags}
....but I couldn't seem to find the origin of {tags}.
I don't think it would be too difficult to remove this "Tags" code and
just forget about it if there's no way to fix this on my end.
|
|
|
Re: YouTube script quits displaying "Tags" info [message #182502 is a reply to message #182498] |
Fri, 09 August 2013 00:42 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma: 0
|
Senior Member |
|
|
#
Path: textnews.cambrium.nl!feeder2.cambriumusenet.nl!feed.tweaknews.nl!87.79.20.1 01.MISMATCH!newsreader4.netcologne.de!news.netcologne.de!newsfeed.fsmpi.rwt h-aachen.de!eternal-september.org!feeder.eternal-september.org!news.eternal -september.org!.POSTED!not-for-mail
From: Jerry Stuckle <jstucklex(at)attglobal(dot)net>
Newsgroups: comp.lang.php,comp.internet.services.video.youtube
Subject: Re: YouTube script quits displaying "Tags" info
Date: Thu, 08 Aug 2013 20:42:05 -0400
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <ku1dss$5a9$2(at)dont-email(dot)me>
References: <super70s-AF0704(dot)17301008082013(at)free(dot)teranews(dot)com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 9 Aug 2013 00:42:04 +0000 (UTC)
Injection-Info: mx05.eternal-september.org; posting-host="96372c5206308f96aea5409fef9765ed";
logging-data="5449"; mail-complaints-to="abuse(at)eternal-september(dot)org"; posting-account="U2FsdGVkX1963rcyMlNCNop50b5h8XRBjQh9b+bTyc0="
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
In-Reply-To: <super70s-AF0704(dot)17301008082013(at)free(dot)teranews(dot)com>
Cancel-Lock: sha1:zsYtJ5CAp3FgprHn2o2RpBMGG2o=
Xref: textnews.cambrium.nl comp.lang.php:142005 comp.internet.services.video.youtube:267
On 8/8/2013 6:30 PM, super70s wrote:
> I've had a script on my site for a few years now that pulls videos from
> YouTube based on a keyword suffix I set up (BTW I found out that was
> being abused by spammers so I had to set up an .htaccess file so that
> domain could only be accessed from the main site, but that isn't
> directly related to my question).
>
> Several months ago, the "Tags" info next to the video thumbnail started
> coming up blank, although the "Author," "Length," "Rating" and "Views"
> above the "Tags" info are still working as normal.
>
> Apparently YouTube has changed something that prevents the "Tags" from
> displaying as it once did. Am I just SOL on this, or is there any way to
> get the "Tags" info working again? The code on the "video.html" page
> looks something like this:
>
> <b>Tags:</b> {tags}
>
> ...but I couldn't seem to find the origin of {tags}.
>
> I don't think it would be too difficult to remove this "Tags" code and
> just forget about it if there's no way to fix this on my end.
>
Your PHP question is?
(In case you hadn't noticed - you posted to comp.lang.PHP).
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|
|
Re: YouTube script quits displaying "Tags" info [message #182505 is a reply to message #182504] |
Fri, 09 August 2013 03:02 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma: 0
|
Senior Member |
|
|
On 8/8/2013 9:12 PM, Denis McMahon wrote:
> On Thu, 08 Aug 2013 20:42:05 -0400, Jerry Stuckle wrote:
>
>> On 8/8/2013 6:30 PM, super70s wrote:
>
> [stuff about playing embedded youtube videos]
>
>> (In case you hadn't noticed - you posted to comp.lang.PHP).
>
> I can't help but wonder if "super70s" having trouble playing youtube
> videos might be mroldies.net moving from the '60s to the '70s, i.e. Rts.
>
lol
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|
|
|
Re: YouTube script quits displaying "Tags" info [message #182508 is a reply to message #182506] |
Fri, 09 August 2013 07:50 |
Denis McMahon
Messages: 634 Registered: September 2010
Karma: 0
|
Senior Member |
|
|
On Fri, 09 Aug 2013 00:34:37 -0500, super70s wrote:
> In article <ku1dss$5a9$2(at)dont-email(dot)me>,
> Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
>
>> Your PHP question is?
>>
>> (In case you hadn't noticed - you posted to comp.lang.PHP).
>
> Well well, here's an unpleasant surprise. And I wasn't even posting in
> alt.www.webmaster.
>
> Maybe someone else is actually interested in helping with a php-based
> site and not being anal-retentive.
OK, I'll bite - what php code are you using, what output does it
generate, what output do you expect it to generate?
As Jerry said, this is a php group, but your original post seems to
contain one line of html thus:
<b>Tags:</b> {tags}
and nothing that gives any hint as to what the php issue is that you're
posting to this php group about, except the comment that you're using a
script to interface with youtube.
If your issue relates to the youtube api that you're using, the best
place to ask is the appropriate youtube api support forum. We don't do
youtube api here, we do php.
If someone else wrote the script that you're using to interface with
youtube and it no longer works, it's probably best to go back to the
person who wrote the script and see if they have an update, or
alternatively, find the current api details (this sounds like an api
change may be stuffing the script) and either update the script yourself,
or write a new interface to the api.
In either case, that's not something that I'd expect many people here to
know about.
What I do know is that the expression:
<b>Tags:</b> {tags}
is not something I'd expect to be recognised or processed in any way at
all by a php parser. Either what you wrote is not what you have, or it's
not a php issue. Your very woolly description of the problem provides
little help in analysing the situation either.
--
Denis McMahon, denismfmcmahon(at)gmail(dot)com
|
|
|
Re: YouTube script quits displaying "Tags" info [message #182509 is a reply to message #182506] |
Fri, 09 August 2013 11:35 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma: 0
|
Senior Member |
|
|
On 8/9/2013 1:34 AM, super70s wrote:
> In article <ku1dss$5a9$2(at)dont-email(dot)me>,
> Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
>
>> Your PHP question is?
>>
>> (In case you hadn't noticed - you posted to comp.lang.PHP).
>
> Well well, here's an unpleasant surprise. And I wasn't even posting in
> alt.www.webmaster.
>
> Maybe someone else is actually interested in helping with a php-based
> site and not being anal-retentive.
>
Somebody might be interested in helping you if you knew the difference
between PHP and HTML and posted in the right newsgroup. But being so
anal retentive, you think you can post any question in any newsgroup, on
topic or not, and expect the whole world to jump to answer you.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|
Re: YouTube script quits displaying "Tags" info [message #182510 is a reply to message #182507] |
Fri, 09 August 2013 12:35 |
Scott Johnson
Messages: 196 Registered: January 2012
Karma: 0
|
Senior Member |
|
|
On 8/8/2013 10:44 PM, super70s wrote:
> In article <ku1fl4$1vk$1(at)dont-email(dot)me>,
> Denis McMahon <denismfmcmahon(at)gmail(dot)com> wrote:
>
>> I can't help but wonder if "super70s" having trouble playing youtube
>> videos might be mroldies.net moving from the '60s to the '70s, i.e. Rts.
>
> Haven't the foggiest what you're talking about, never heard of
> mroldies.net (and BTW the videos play fine).
>
Sort of an inside joke around here and funny as hell but not at your
expense.
Stick around for a bit and I am sure in a few weeks you will have an
'ahhhhh' moment.
|
|
|
Re: YouTube script quits displaying "Tags" info [message #184221 is a reply to message #182508] |
Sun, 15 December 2013 20:21 |
Moon Elf
Messages: 6 Registered: December 2013
Karma: 0
|
Junior Member |
|
|
On 2013-08-09, Denis McMahon <denismfmcmahon(at)gmail(dot)com> wrote:
> On Fri, 09 Aug 2013 00:34:37 -0500, super70s wrote:
>
>> In article <ku1dss$5a9$2(at)dont-email(dot)me>,
>> Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
>>
>>> Your PHP question is?
>>>
>>> (In case you hadn't noticed - you posted to comp.lang.PHP).
>>
>> Well well, here's an unpleasant surprise. And I wasn't even posting in
>> alt.www.webmaster.
>>
>> Maybe someone else is actually interested in helping with a php-based
>> site and not being anal-retentive.
>
> OK, I'll bite - what php code are you using, what output does it
> generate, what output do you expect it to generate?
>
> As Jerry said, this is a php group, but your original post seems to
> contain one line of html thus:
>
> <b>Tags:</b> {tags}
>
> and nothing that gives any hint as to what the php issue is that you're
> posting to this php group about, except the comment that you're using a
> script to interface with youtube.
>
> If your issue relates to the youtube api that you're using, the best
> place to ask is the appropriate youtube api support forum. We don't do
> youtube api here, we do php.
>
> If someone else wrote the script that you're using to interface with
> youtube and it no longer works, it's probably best to go back to the
> person who wrote the script and see if they have an update, or
> alternatively, find the current api details (this sounds like an api
> change may be stuffing the script) and either update the script yourself,
> or write a new interface to the api.
>
> In either case, that's not something that I'd expect many people here to
> know about.
>
> What I do know is that the expression:
>
> <b>Tags:</b> {tags}
>
> is not something I'd expect to be recognised or processed in any way at
> all by a php parser. Either what you wrote is not what you have, or it's
> not a php issue. Your very woolly description of the problem provides
> little help in analysing the situation either.
>
You might want to look at the <video> HTML tag to screen your downloaded movie,
as for PHP there's probably code out there which morphs videos to a browser, as
ImageMagick does to images. Then, learn some Python for e.g. youtube-dl, a
program which fetches your kind of videos.
HTH,
ME
--
Member of the DR rogue circle.
Search and you will find.
|
|
|
Re: YouTube script quits displaying "Tags" info [message #184222 is a reply to message #184221] |
Sun, 15 December 2013 20:31 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma: 0
|
Senior Member |
|
|
On 12/15/2013 3:21 PM, Moon Elf wrote:
> On 2013-08-09, Denis McMahon <denismfmcmahon(at)gmail(dot)com> wrote:
>> On Fri, 09 Aug 2013 00:34:37 -0500, super70s wrote:
>>
>>> In article <ku1dss$5a9$2(at)dont-email(dot)me>,
>>> Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:
>>>
>>>> Your PHP question is?
>>>>
>>>> (In case you hadn't noticed - you posted to comp.lang.PHP).
>>>
>>> Well well, here's an unpleasant surprise. And I wasn't even posting in
>>> alt.www.webmaster.
>>>
>>> Maybe someone else is actually interested in helping with a php-based
>>> site and not being anal-retentive.
>>
>> OK, I'll bite - what php code are you using, what output does it
>> generate, what output do you expect it to generate?
>>
>> As Jerry said, this is a php group, but your original post seems to
>> contain one line of html thus:
>>
>> <b>Tags:</b> {tags}
>>
>> and nothing that gives any hint as to what the php issue is that you're
>> posting to this php group about, except the comment that you're using a
>> script to interface with youtube.
>>
>> If your issue relates to the youtube api that you're using, the best
>> place to ask is the appropriate youtube api support forum. We don't do
>> youtube api here, we do php.
>>
>> If someone else wrote the script that you're using to interface with
>> youtube and it no longer works, it's probably best to go back to the
>> person who wrote the script and see if they have an update, or
>> alternatively, find the current api details (this sounds like an api
>> change may be stuffing the script) and either update the script yourself,
>> or write a new interface to the api.
>>
>> In either case, that's not something that I'd expect many people here to
>> know about.
>>
>> What I do know is that the expression:
>>
>> <b>Tags:</b> {tags}
>>
>> is not something I'd expect to be recognised or processed in any way at
>> all by a php parser. Either what you wrote is not what you have, or it's
>> not a php issue. Your very woolly description of the problem provides
>> little help in analysing the situation either.
>>
>
> You might want to look at the <video> HTML tag to screen your downloaded movie,
> as for PHP there's probably code out there which morphs videos to a browser, as
> ImageMagick does to images. Then, learn some Python for e.g. youtube-dl, a
> program which fetches your kind of videos.
>
> HTH,
> ME
>
As Denis said 4 months ago - this is not a PHP problem and this is not
the appropriate newsgroup.
As for morphing videos to a browser - a video is not an image!
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|