I have created a little php code that I plan to place in a “Custom HTML” widget. In short, they select a subject matter in the first drop down menu which then populates the second dropdown. This contains TWO types of data. The first is a userID (YouTube) so that it can access their channel. The other (used once) is a search term, such as
(The first three are channel ID.s the latter a search term)
Having (briefly) read through the docs, I see that everything is based on shortcodes on a page. I’m wondering if I can “submit” this form to someplace, (such as a query string, maybe adding extra Tubepresss fields) that the page containing the shortcode will be able to interpret.
I should add I’m only “experimenting” with the trial at present, but the “Pro” looks a definate poss. From the demos, I like the fact that the videos are in a lightbox - rather that starting in the “prepend” area and scrolling the page into view. It also seems more ‘versatile’ in terms of what can be amended … although “child themes” and templates is a new ‘ball game’
Thanks in advance
NB: Forgot to add: The user channel loads specific “new” videos whilst the keyword is any ‘random’ videos containing that tag.
Oh: I note too that it says data is stored locally in cache to avoid overloading the quota. Does that mean it stores meta data / thumbnail etc which is displayed on the page … or is it also caching the ENTIRE video that is played?
Having read the docs again, I’m wondering if something along these lines would work. At this stage, the bold parts are wrong code wise, but just to give a sort idea what I am proposing.
If they have selected a user:
If they have a search term:
ANy more insights?
I did wonder about creating my own shortcode on the page, that would then use a function to create the string … but no idea how to pass to TubePress. That said, “TubePressPro::getHTML ()” if I knew how and where to implement it