Jump to content


These Forums Are Now Read-Only


For TubePress support, please post a question here or open a support ticket and we will be glad to assist.


Photo

How To Embed One Video Player


  • Please log in to reply
31 replies to this topic

#1 levseltzer

levseltzer

    Advanced Member

  • Members
  • PipPipPip
  • 31 posts

Posted 22 April 2015 - 12:20 PM

I am trying to embed the one "latest" video for a YouTube user, and I can't figure out how to remove the thumbnails. the code I am using is:

[tubepress embeddedHeight="480" embeddedWidth="640" thumbHeight="150" resultCountCap="1" mode="user" userValue="childAleh" output="player"]

I changed the resultcountcap to "0" but then the program crashed. Right now I get a perfectly sized player displaying the correct video from the YouTube user, but underneath is a thumbnail of the same video.

How can I remove this thumbnail?

I have TubePress PRO 4.1.5.

Thank you.

#2 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 22 April 2015 - 07:37 PM

Hello,

 

You will need to modify the TubePress theme that you are using and comment out the thumbnail section since the single player option is for when specifying a single video, not a channel/user and simply displaying their latest video.

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#3 levseltzer

levseltzer

    Advanced Member

  • Members
  • PipPipPip
  • 31 posts

Posted 26 April 2015 - 08:00 AM

I don't know how to do this. I clicked on the link on the themes page:

Don't see what you're after?
You can create your own custom theme in minutes.
http://docs.tubepres.../extend/themes/

But the URL seems to be invalid.

on the page http://docs.tubepres.../extend/themes/
I get the error "You've found something that doesn't exist."

I looked through the docs, but could not find anything on extending/modifying the themes.

Please help.

#4 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 27 April 2015 - 09:07 PM

My apologies, our documents are undergoing reconstruction due to the major differences between 4.x and 3.x

 

Basically, you need to locate one of the template files, copy and then modify it to only show the single video player, instead of the video player and thumbnails.

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#5 levseltzer

levseltzer

    Advanced Member

  • Members
  • PipPipPip
  • 31 posts

Posted 28 April 2015 - 06:04 AM

Where do I copy it?
I tried taking the default template and copying it with the name "oneplayer" to this folder:
/home/aleh/public_html/wp-content/tubepress-content/themes/OnePlayer/

I modified /home/aleh/public_html/wp-content/tubepress-content/themes/OnePlayer/theme.json and put in some text that uniquely identified my theme (below is some of it):
{
"name" : "tubepress/One Player",
"version": "4.1.6",
"title" : "One Player",
"authors" : [
{
"name" : "TubePress LLC",
"url" : "http://tubepress.com"
}
],
"license": {
"type" : "MPL-2.0",
"urls" : [ "http://www.mozilla.org/MPL/2.0/" ]
},
"description": "Just display one player without thumbnails.",
"styles" : [ "css/tubepress.css" ],
I don't see this in the list of available themes, though.
I don't want to put it in the plugin/tubepress folder, because that folder gets erased each time you come out with an update!

Please advise.

#6 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 28 April 2015 - 08:25 PM

Hello Lev,

 

You need to put ?tubepress_clear_system_cache=true

 

at the end of your URL for TubePress to refresh. 

 

Let us know.

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#7 levseltzer

levseltzer

    Advanced Member

  • Members
  • PipPipPip
  • 31 posts

Posted 29 April 2015 - 07:11 AM

I went to the page https://aleh.org/wp-...stem_cache=trueand did not see my theme. I still do not have instructions to follow - did I put everything in the right place? Did I modify the right file? I didn't put in my customizations yet, as I wanted to first make sure that my theme shows up and doesn't get lost in an update.

#8 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 29 April 2015 - 08:28 PM

Lev, you put everything in the correct place. Let me get with our developers, as things changed dramatically with version 4.x

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#9 levseltzer

levseltzer

    Advanced Member

  • Members
  • PipPipPip
  • 31 posts

Posted 29 April 2015 - 11:54 PM

Thank you. I upgraded to 4.1.8 a moment ago, put in ?tubepress_clear_system_cache=true, and the theme still did not show up.

#10 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 30 April 2015 - 09:59 PM

Please stand by, our development team has made the documentation our top priority and it should be updated tonight or, more likely, tomorrow.

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#11 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 04 May 2015 - 12:15 AM

Sorry for the delay, but I'm pleased to report that we have completed a large overhaul of our documentation including a very detailed section on themes.

 

http://docs.tubepres...ordpress/themes

 

Please have a look and let us know how it works for you. We would love to hear your feedback. Thanks!



#12 levseltzer

levseltzer

    Advanced Member

  • Members
  • PipPipPip
  • 31 posts

Posted 04 May 2015 - 03:48 AM

Thank you for the update. The documentation is very clear.
(don't forget to update the URL on the THEMES tab where it says "Don't see what you're after? You can create your own custom theme in minutes.)

I was able to create a new theme, but I am having problems implementing it. I have 2 galleries that use the default template, and I want to create a 3rd instance of TubePress using the new theme, but I cannot figure out how to do that. There is no keyword listed in the core options section for "theme" so I can't designate a theme independently of the settings page.

Thank you.

#13 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 04 May 2015 - 08:43 PM

Lev,

 

You're right, I can't find a shortcode to change the theme either, let me ask the Developers how to accomplish this.

 

If its not possible, we'll make it a feature request.

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#14 levseltzer

levseltzer

    Advanced Member

  • Members
  • PipPipPip
  • 31 posts

Posted 05 May 2015 - 04:59 AM

Thank you. Awaiting a reply...

#15 levseltzer

levseltzer

    Advanced Member

  • Members
  • PipPipPip
  • 31 posts

Posted 08 May 2015 - 11:11 AM

Any word? Is there a way to do it today? IF not, has the suggestion been accepted for a future release?

Thank you.

#16 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 09 May 2015 - 04:15 AM

Lev,

 

Sorry for the delay, our developers are extremely busy trying to iron out bugs and make sure everything is functioning properly. I have put this in front of them again.

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#17 levseltzer

levseltzer

    Advanced Member

  • Members
  • PipPipPip
  • 31 posts

Posted 11 May 2015 - 08:22 AM

OK. I anxiously await an update. I will let the client know that for now, they will have a large player and a thumbnail underneath, and there is no way to remove the thumbnail (for now).

#18 levseltzer

levseltzer

    Advanced Member

  • Members
  • PipPipPip
  • 31 posts

Posted 25 May 2015 - 01:49 PM

Hi again. Is this type of solution something that will be completed in "weeks"? Or is this something that will be completed in the few months? I need to understand your estimated time schedule so that I can come up with an interim solution, or wait.

Thank you.

#19 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 26 May 2015 - 09:13 PM

Lev,

 

You can use the shortcode: theme="theme_name"

 

"Theme" must be one of "tubepress/default, tubepress/legacy-default, tubepress/legacy-sidebar, tubepress/legacy-vimeo, tubepress/legacy-youtube, tubepress/vimeo.com-clone, tubepress/youtube.com-clone".

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#20 levseltzer

levseltzer

    Advanced Member

  • Members
  • PipPipPip
  • 31 posts

Posted 26 May 2015 - 10:48 PM

This is a great start, but doesn't give me exactly what I need.
Again: I want to have just ONE video displayed on a page. I want it to be the LATEST one from a YouTube feed for a particular user.
I was told that I can accomplish this by creating my own theme.
I created the theme, but I was unable to implement it unless I set all the themes on the site to this custom theme.
So I really would like to use a custom theme with this shortcode
(I might try to set the default theme to my custom theme, and then use a shortcode to the STANDARD them on the other two pages. Perhaps that will work.)