dindinet / youtube-direct-lite

Automatically exported from code.google.com/p/youtube-direct-lite
Apache License 2.0
0 stars 0 forks source link

The "playlist" url parameter is missing #37

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.upload files to webserver
2.change config.js to match credentials
3.go to page and see that i'm logged in by my pic
4. get The "playlist" url parameter is missing error
5. find only two mentions of this error on the entire internet and see that 
both instances are "solved" without any solution.
6. question how something owned by google, can be so difficult with only 3 steps
7. cry.

What is the expected output? What do you see instead?
i kind of expected then a tutorial on installing this that includes only two 
steps... would mean that it would work... pretty much out of the box.

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by hostandm...@gmail.com on 27 Oct 2013 at 12:55

GoogleCodeExporter commented 9 years ago
Specifically what page are you visiting when you get that error? Are you 
talking about an admin page or a submission page? If you're deployment is on a 
publicly visible web server and you're talking about the submission page, could 
you please provide the URL?

Original comment by je...@google.com on 4 Nov 2013 at 8:08

GoogleCodeExporter commented 9 years ago
I can toss it up on a server tonight. It's the whatever code that's in the
repository for the local hosted setup. I upload the files and change the
two things in the config file and straight out the gate it doesn't work.
And the error shows on the upload screen. Can't remember if it shows on the
admin also.

Original comment by hostandm...@gmail.com on 4 Nov 2013 at 8:16

GoogleCodeExporter commented 9 years ago
The submission needs to be tied to a specific playlist, and you need to use the 
URL for the submission widget generated from the admin screen. See 
https://code.google.com/p/youtube-direct-lite/wiki/AdminInterface for details.

Original comment by je...@google.com on 4 Nov 2013 at 8:23

GoogleCodeExporter commented 9 years ago
I set the playlist in the admin. But the basic code in the uploaded files
index page is set up as a form and there is no place to add the playlist.
info. Isn't the generated admin code just an iframe? What's the point of
hosting it on my server if I'm still going to use an I iframe and not be
able to edit the style ?

Original comment by hostandm...@gmail.com on 4 Nov 2013 at 8:27

GoogleCodeExporter commented 9 years ago
The idea is that you create a new playlist via the admin page, and use the 
generated iframe embed code (which will include the playlist id) whenever you 
need to embed the submission widget on any page—whether it's on the same 
domain as or a different one.

The point of hosting it on your server is that you can edit the CSS or basic 
HTML structure of the submission widget, but that doesn't change the fact that 
the code for YTDL expects the submissions widget to be loaded on a page via an 
iframe.

Original comment by je...@google.com on 4 Nov 2013 at 8:33

GoogleCodeExporter commented 9 years ago
Ok. They should probably get rid of the convoluted index page that shows
the example as a form and just have the  iframe on the page with the code
commented to replace it with the admin code. What was the point in making a
whole form that looks like the submission page but isn't able to be
functional?  I was all excited that I might be able to put different parts
of the submission for in different areas of the page and in reality I might
as well just use the hosted version.

Original comment by hostandm...@gmail.com on 4 Nov 2013 at 9:10

GoogleCodeExporter commented 9 years ago
Or at least note the code to say "hey, this is the structure of the form so
you know what each things class and I'd is to use when editing the css"

Original comment by hostandm...@gmail.com on 4 Nov 2013 at 9:11

GoogleCodeExporter commented 9 years ago
It's literally the only option besides the full version and it's wiki and
code is so poorly notated for being out for so long.

Original comment by hostandm...@gmail.com on 4 Nov 2013 at 9:13

GoogleCodeExporter commented 9 years ago
http://www.thatswhatsuplocalmusic.com/test/youtube/

so that's it uploaded, the left is the coding that is in the index file, that i 
don't understand why its there and the right is the iframed upload widget from 
the admin script.

my confusion lies in that the form coded into the index file displays my 
profile image, so i was under the impression that it was a demo of how to 
structure the form to show the upload form... but there is not "playlist" area 
in the code to assign the playlist... so that leads to the iframe, and then 
begs the question ... who got paid to make a full index page with a form that 
doesnt have a purpose???

Original comment by hostandm...@gmail.com on 4 Nov 2013 at 11:19

GoogleCodeExporter commented 9 years ago
i mean i'm not a retard right? its a partially working example, made by using 
an html form on an index page... which then tells you to ignore it and use an 
iframe??

Original comment by hostandm...@gmail.com on 4 Nov 2013 at 11:25

GoogleCodeExporter commented 9 years ago
nevermind, i get it now... that should be called widget.html instead of index, 
because you make it look how you want it and then the iframe is pulling that 
page into the site and the link to it is populating the playlist. makes sense 
now... still terribly documented.

Original comment by hostandm...@gmail.com on 5 Nov 2013 at 12:15

GoogleCodeExporter commented 9 years ago
technically you don't need the iframe at all... you can just link to the index 
file with the playlist information in the url.

Original comment by hostandm...@gmail.com on 5 Nov 2013 at 12:51

GoogleCodeExporter commented 9 years ago
Hi.
I am facing the same issue !! i cannot add the playlist details..!! I dont want 
to add the i frame. 

Original comment by kunalbag...@gmail.com on 14 Mar 2014 at 2:21