Home

3.1.6 PDF - Read the Docs

image

Contents

1. Valid values Any valid YouTube API key Shortcode tubepress developerKey example Standalone TubePressPro getHtmlForShortcode developerKey PHP example YouTube Click here documentation embeddableOnly Option name embeddableOnly Description Some videos have embedding disabled Enabling this option will exclude these videos from your galleries Most users will never need to modify this option Provided with All downloadable TubePress distributions Default value true Valid values true or false Shortcode tubepress embeddableOnly true example Standalone TubePressPro getHtmlForShortcode embeddableOnly true PHP example YouTube Click here documentation 104 Chapter 3 Reference TubePress Documentation Release filter_racy Option name Description Provided with Default value Valid values Shortcode example Standalone PHP example YouTube documentation filter_racy Filter out restricted content YouTube performs the fil tering much in the same manner as SafeSearch Filtering for Google WebSearch All downloadable TubePress distributions moderate none YouTube will not perform any filtering moderate YouTube will filter some videos strict YouTube will try to exclude all restricted videos tubepress filter_racy strict TubePressPro getHtmlForShortcode filter_racy st Click here Video Meta Display rating Option nam
2. e gt EASY ee gt a Appie Pathe Appie Pad te tv r m aa Ad Sound Worse Ad ght worse ro e en en se 2 A small window will popup which contains some simple settings for TubePress Feel free to click around and change some of the options Your changes will be reflected live so that you can see the result immediately 2 3 TubePress for Wix 53 TubePress Documentation Release TubePress x TubePress lets you easily add YouTube and Vimeo video galleries to your site Just choose your videos and customize the look s39 More Settings Upgrade Now 30 day s remaining in trial gt Registration Source Which videos do you want to display Videos from this YouTube user apple This YouTube playlist F679CB240DD4C112 2 Videos uploaded by this Vimeo user AvantGardeDiaries Videos from this Vimeo album 140484 Appearance Set the structure and colors of your gallery ew count 13 lew count 43 1 View count 1 105 776 Configuring Full Settings In the previous section you learned how to access a few settings for your TubePress instance However the options found in the small popup window are actually a small fraction of the options available to you We simply hide them so as to not overwhelm new users Here s how to access the rest of the settings 1 In the basic TubePress settings window click the More Settings button
3. Here s how to install TubePress Pro when used as a standalone PHP library 1 If you haven t already purchase a TubePress Pro license 2 Download TubePress Pro from here 3 Unzip the file you just downloaded tubepress_pro_x_y_z zip It will expand into a directory named tubepress_pro_x_y_z Note x y and z are the major minor and micro version numbers of TubePress 4 Upload the entire tubepress_pro_x_y_z directory to your web server in a place that s web accessible 5 Make a note of the following two items which you Il need when invoking TubePress e the full path of this directory on your web servers filesystem e g var www html myblog com lib tubepress_pro_x_y_z e the web accessible URL to reach this directory e g http myblog com lib tubepress_pro_x_y_z 6 Vimeo users only Perform the one time Vimeo API setup 7 Optional Install support for Shadowbox js and or JW Player 5 Vimeo API Setup Note If you aren t using Vimeo you can safely skip this section In order to use TubePress with Vimeo you are required to obtain a consumer key and consumer secret from Vimeo This is a one time setup required by Vimeo Thankfully it s easy to create these credentials and supply them to TubePress 34 Chapter 2 User Manuals TubePress Documentation Release 1 Log in to Vimeo if you haven t already 2 Click here to create a new Vimeo app You can fill in anything for the fie
4. dateFormat 1 jS of F Y example Heiss AN description Option name description Description Toggle display of the video description Provided with All TubePress distributions Default value false Valid values true or false Supported provider s Vimeo and YouTube Shortcode example tubepress description true Standalone PHP example TubePressPro getHtmlForShortcode description true 90 Chapter 3 Reference TubePress Documentation Release descriptionLimit Default value 0 Option name descriptionLimit Description The maximum number of characters of a video s description that should be displayed Descriptions over this limit will be truncated with Set to 0 for no limit Provided with All TubePress distributions Valid values Any non negative integer Supported Vimeo and YouTube provider s Shortcode tubepress descriptionLimit 150 example Standalone TubePressPro getHtmlForShortcode descriptionLimit 150 PHP example id Option name Description Provided with Default value Valid values id Toggle display of the video ID All TubePress distributions false true or false Supported provider s Vimeo and YouTube Shortcode example tubepress id true Standalone PHP example TubePressPro getHtmlForShortcode id true length Option name Description Provided with length Toggle display of the video runtime Al
5. tubepress vimeoKey TubePressPro getHtmlForShortcode vimeoKey Click here WE vimeoSecret Option name Description Provided with Default value Valid values Shortcode example Vimeo documentation Standalone PHP example vimeoSecret The API secret that TubePress will use when communicating with Vimeo All TubePress distributions empty Any valid Vimeo API secret tubepress vimeoSecret TubePressPro getHtmlForShortcod Click here vimeoSecret W N 3 1 Options 109 TubePress Documentation Release Video Meta Display likes Option name likes Description Toggle display of the number of times the video has been liked Provided with All TubePress distributions Default value false Valid values true or false Shortcode example tubepress likes true Standalone PHP example TubePressPro getHtmlForShortcode likes true 3 1 4 Vimeo All Access Options This page documents the options available with the Vimeo All Access add on for TubePress vimeoApiAccessToken Option name Description Provided with Default value Valid values Shortcode example Standalone PHP example Vimeo documentation vimeoApiAccessToken The API secret that TubePress will use when communi cating with Vimeo e All cloud based TubePress distributions Vimeo All Access add on add on empty Any valid Vimeo API access toke
6. PHP example searchResultsUrl Option name Description Provided with Default value Valid values Supported provider s Shortcode example Standalone PHP example searchResultsUrl A URL defining where TubePress should send the user s search terms By default this is S_SERVER PHP_SELF All TubePress distributions empty Any absolute URL Vimeo and YouTube tubepress searchResultsUrl http mysite com search php TubePressPro getHtmlForShortcode searchResultsUrl http mygite com sear API Cache API Cache Options e cacheCleaningFactor e cacheDirectory e cacheEnabled e cacheLifetimeSeconds 94 Chapter 3 Reference TubePress Documentation Release cacheCleaningFactor Option name Description Provided with Default value Valid values Supported provider s Shortcode example Standalone PHP example cacheCleaningFactor Defines how often TubePress will perform a full clean of its API cache If you enter x the API cache will be cleaned approximately every 1 x cache writes Enter 0 to disable all cache cleaning All downloadable TubePress distributions 20 Any non negative integer Vimeo and YouTube tubepress cacheCleaningFactor 0 TubePressPro getHtmlForShortcode cacheCleaningFactor 0 cacheDirectory Option name Description Provided with cacheDirectory The absolute path of a directory
7. 2 Remove the existing TubePress installation directory from wp content plugins tubepress 3 Repeat the free WordPress plugin installation procedure Caution Do not use WordPress s auto update for TubePress Pro Your installation will be downgraded to the TubeP P ubePress Pro free version of TubePress Here is the safe upgrade procedure for TubePress Pro when used in WordPress 1 Deactivate TubePress Pro from WP Admin gt Plugins 2 Remove the existing TubePress Pro installation directory from wp content plugins tubepress_pro_x_y_zZ 3 Repeat the TubePress Pro installation procedure with the latest copy of TubePress Pro Uninstall If you d like to completely uninstall TubePress from your WordPress installation for any reason here are the steps 1 Deactivate TubePress from WP Admin gt Plugins 2 Remove the TubePress installation directory from wp content plugins Using TubePress in WordPress On This Page e Configuration e Add TubePress to Posts and Pages e Add TubePress to WordPress Templates e Changing the Default Language 2 1 TubePress for WordPress 19 TubePress Documentation Release Configuration TubePress comes with a user friendly options page that can be found from your WordPress admin dashboard Simply visit Settings gt TubePress to access the screen Dashboard TubePress Options Here you can set the default options for TubePress Each option here can be overridde per p
8. 54 Chapter 2 User Manuals TubePress Documentation Release More Settings gt Registration Source Which videos do you want to display a 140484 gt Appearance Set the structure and colors of your gallery 2 A new window will open which contains all of the TubePress settings Feel free change any setting you like and click the Save button once you re done 2 3 TubePress for Wix 55 TubePress Documentation Release OI TubePress Settings A wix tubepress com settings all instanc qp eNX1luv4j5 KfLvyjeQYTZhMr_wS3M10 ey pbnNoYw5jZUIkIjoiMTMOZDU2NZzYtMzljMy 1i YmMQ2LTk3YTgtNGE3I ES All TubePress Options Only show options applicable to select Which videos Thumbnails Player Meta Feed Appearance default v A TubePress theme can change the HTML structure and in some cases the overall style of your gallery Height px of thumbs 83 Default is 90 Width px of thumbs 147 Default is 120 Ajax enabled pagination Show pagination above thumbnails hat span multiple pages Show pagination below thumbnails hat span multiple pages Use high quality thumbnails this option cannot be used with the randomize thumbnails feature Randomize thumbnail images jideos come with several thumbnails By lecting this your gallery they will see the same videos with each video s thumbnail randomized this option cannot be used with the high quality thumbnails feature Thumbnails
9. YouTube documentation Click here youtubeClosedCaptions Option name youtubeClosedCaptions Description Show closed captions by default Provided with All TubePress distributions Default value false Valid values true or false Shortcode example tubepress youtubeClosedCaptions true Standalone PHP TubePressPro getHtmlForShortcode youtubeClosedCaptions true example YouTube Click here documentation youtubeDisableKeyboardControls Option name youtubeDisableKeyboardControls Description Disable all keyboard controls for the video Provided with All TubePress distributions Default value false Valid values true or false Shortcode example tubepress youtubeDisableKeyboardControls true Standalone PHP TubePressPro getHtmlForShortcode youtubeDisableKeyboardControls true example YouTube Click here documentation 102 Chapter 3 Reference TubePress Documentation Release youtubePlayerTheme Option name Description Provided with Default value Valid values Shortcode example Standalone PHP example YouTube documentation youtubePlayerTheme The color theme of the video player All TubePress distributions dark dark or Light tubepress youtubePlayerTheme Llight TubePressPro getHtmlForShortcode youtubePlayerTheme light Click here ee ee youtubeShowAnnotations Option name Description Provided wi
10. more detailed video going over installation and usage Firebug Guide for Web Developers A detailed well written overview of Firebug with pictures 2 3 TubePress for Wix TubePress is available to all Wix com websites via the Wix App Market Since TubePress LLC manages the hosting of TubePress there is no installation upgrade or maintenance required 2 3 1 Manual Contents Using TubePress in Wix com This page details how to use TubePress for Wix It assumes that you already have a Wix website up and running if not Wix offers excellent documentation to get you started On This Page e Adding the TubePress App e Configuring Simple e Configuring Full Settings Adding the TubePress App TubePress is available to Wix com as an app in the Wix App Market As such Wix provides detailed documentation on how to use the App Market For the sake of completeness here s how to add TubePress to your site 1 Inside the Wix Editor click the App Market button 2 3 TubePress for Wix 49 TubePress Documentation Release WiX 0 b Pages Pa Design Oma oo Settings 3 App Market 2 The Wix App Market window will open In the search box at the top left type in tubepress and hit enter 50 Chapter 2 User Manuals TubePress Documentation Release WixX CJ g Page SERVICES FORM BUILDER 123Cortact Form Free Promium Revotuton Sader Free Premam
11. t already 2 Click here to create a new Vimeo app You can fill in anything for the fields Below is a sample form that s filled out Then click the Create App button 2 4 Official TubePress Add Ons 65 TubePress Documentation Release Create a new App App Description App Logo URL App Callback URL agree that my application does not violate the Required TubePress Documentation Release 3 Make a note of the Client ID and Client secret of your new app See the red box below for an idea of what it should look like My Advanced API Apps my amazing website http Aoo bar Use TubePress within my website Client ID 172d2148d952d4 Client secret 1e965c515b044d OAuth access token 840f3a18a8264b572b1 4a40b555c39f3 Upload Access None Request Upload Access 2 4 3 Flexible Thumbnail Rows On This Page e Introduction e Manuals TubePress for WordPress Standalone PHP TubePress for Wix Introduction This add on automatically adjusts the height of thumbnail rows in TubePress galleries ensuring that the metadata runtime title description etc for each video is completely visible Without this add on TubePress uses a fixed height for the thumbnail rows and any metadata that is taller than the row will be cut off 2 4 Official TubePress Add Ons 67 TubePress Documentation Release Before Brides of Oklahoma own shoot with P
12. Locked Down PHP Installation If you get an error message from TubePress that looks like No HTTP transports could execute GET to it means that you PHP installation has been configured to block nearly all network operations This is often done as a security measure to prevent malicious PHP scripts from phoning home 30 Chapter 2 User Manuals TubePress Documentation Release TubePress needs to open HTTP connections to talk to video providers like YouTube or Vimeo Under the hood TubePress uses the shortstop HTTP client which attempts to use the following PHP mechanisms e cURL extension e HTTP extension e fsockopen e fopen e Streams extension So the solution is to allow TubePress to use one or more of these mechanisms You or your hosting provider must perform at least one of the following Install and allow the cURL extension e Install and allow the HTTP extension e Remove fsockopen from the list of disabled functions e Remove fopen from the list of disabled functions Troubleshooting Tools Debugging Mode _ TubePress s debug mode will print a huge amount of logging statements to the screen It will describe in extreme detail what TubePress is doing behind the scenes 2 1 TubePress for WordPress 31 TubePress Documentation Release 2014 01 09 17 57 37 DEBUG Default Boot Config Service option descriptors caching is enabled 2014 01 09 17 57 37 DEBUG Default Option Descriptor
13. Reference Attempting read contents of cache file at var 2014 01 09 17 57 37 DEBUG Default Option Descriptor Reference Attempting to hydrate from cache file at var w 2014 01 09 17 57 37 DEBUG Default Option Descriptor Reference Successfully hydrated from cache file at var jw 2014 01 09 17 57 37 DEBUG TubePress Bootstrapper Boot completed in 71 796894 milliseconds 2014 01 09 17 57 39 DEBUG Shortcode Parser 2014 01 09 17 57 39 DEBUG Shortcode Parser 2014 01 09 17 57 39 DEBUG Shortcode Parser 2014 01 09 17 57 39 DEBUG Shortcode Parser 2014 01 09 17 57 39 DEBUG Shortcode Parser 2014 01 09 17 57 39 DEBUG Shortcode Parser 2014 01 09 17 57 39 DEBUG Shortcode Parser 2014 01 09 17 57 39 DEBUG Shortcode Parser 2014 01 09 17 57 39 DEBUG Shortcode Parser 2014 01 09 17 57 39 DEBUG Shortcode Parser 2014 01 09 17 57 39 DEBUG Shortcode Parser 2014 01 09 17 57 39 DEBUG Shortcode Parser 2014 01 09 17 57 39 DEBUG Shortcode Parser 2014 01 09 17 57 39 DEBUG Shortcode Parser Found a shortcode gallery tubepress mode user userValue Candidate options detected in shortcode gallery tubepress mo Name value pair detected Name value pair detected Name value pair detected Name value pair detected Name value pair detected Name value pair detected Name value pair detected Name value pair detected Name value pair detected Name value pair detected Name value pair dete
14. We instantly loved Emily Dominion House edding 4 59 ID IE R6dRUWdk View COL inregeey i Big ansan Wedding video 6 19 ID oFOfqZBYNk8 View count 093 gy wedding TubePress Documentation Release Manuals TubePress for WordPress 1 Purchase and download this add on from the TubePress Marketplace 2 Unzip the file you downloaded f lexible thumbnail rows_x_y_z zip into the add ons subdirec tory of your TubePress Content Directory 3 Configure this add on from WP Admin gt Settings gt TubePress Navigate to the Thumbnails tab and scroll to the bottom of the page There you will see a checkbox which enables disables the add on 2 4 Official TubePress Add Ons 69 TubePress Documentation Release Dashboard TubePress Options Only show options applicable to select Meta Feed Cache Advanced Which videos layer Theme efault t theme t e for this galle jur t f dat hone vagrant web wordpress wp content tubepress content themes gi it hone vagrant web wordpress wp content plugins tubepress src main resource Height px of thumbs Width px of thumbs 2 Ajax enabled pagination Use fluid thumbnails v Show pagination above thumbnails v ler 1 ipl 1 Show pagination below thumbnails y l iple pa Use high quality thumbnails v tion cannot f i Y Randomize thumbnail images Thumbnails per page Flexible Thumbnail Rows F
15. Year In a Closer Look at the Obama Presidency 11 43 Autore PBSNewsHour Keywords President Obama PBS NewsHour Jeffrey Brown Democrats Health Care URL Categoria News amp Politics Valutazioni 598 Valutazione 2 64 ID AzMmLvejHMM Visualizzazioni 122 442 Pubblicato 4 days ago As the one year anniversary of President Barack Obama s Inauguration arrives Je My Favorite Videos Dwayne Johnson aka The Rock 1 38 AsTop celebrityplaylists Kmoyessie Cnoga The Rock wrestling Dwayne Johnson ccana Kareropns People amp Blogs Pe tnnrn 840 Pewtunr 4 64 ID acSwOyBBhio fpocmotpos 527 256 Ao6asnen 2 days ago Dwayne Johnson aka The Rock tells you a little something about his favorite Your State of the Union Submit Now 1 00 Asrop citizentube Kaovessie cnoga obama state of the union citizentube speech politics news president of the united states president barack obama google moderator ccana KaTeropua News amp Politics Pewtunrn 377 Pewtunr 2 60 ID avitxo8ueEA IpocmoTpos 189 419 Ao6asnen 4 days ago On Tuesday January 27 President Obama will deliver his first ever State of the One Year In a Closer Look at the Obama Presidency 11 43 Astop PBSNewsHour Kmoyessie chosa President Obama PBS NewsHour Jeffrey Brown Democrats Health Care ccana KaTeropua News amp Politics Pewtunrn 598 PewTunr 2 64 ID AzMmLvejHMM Mpocmorpos 122 442 A
16. a new policy as its a crucial guard against malicious sites However this means that a small domain misconfiguration can lead to a broken misbehaving TubePress installation As an example say that you have a domain ehough com and are serving a web site at this address loading up http ehough com works normally for your users and TubePress detects that ehough com is the domain that it will use But you also have the site available without HTTP redirects via http www ehough com Users that access the site via the www ehough com domain will experience a broken TubePress installation as TubePress will attempt to make a cross domain Ajax request to echough com To diagnose if this if your problem use the following procedure 1 Using Firefox navigate to a page with a TubePress gallery 2 Open up Firebug 3 Open Firebug s Console tab 4 Click on any TubePress thumbnail You should see a new XHR request show up as TubePress performs its Ajax request 2 Console HTML CSS Script DOM Net Cookies p ig Clear Persist Profile All Errors Warnings Info Debuginfo Cookies 5 Expand this request using the expand icon on the left to view the results You should see a small medium JSON result If you see anything else here or nothing at all then something is wrong 2 gt Console HTML CSS Script DOM Net Cookies p eoo ig Clear Persist Profile All Errors Warnings Info Debuginfo Cookies
17. cnosa The Rock wrestling Dwayne Johnson ccana Karteropna People amp Blogs Pevtunrn 840 Pe tunr 4 64 ID acSwOyBBhio fIpocmotpos 527 256 Ao6asnen 2 days ago Dwayne Johnson aka The Rock tells you a little something about his favorite Your State of the Union Submit Now 1 00 Asrop citizentube Karovespie Cnoga obama state of the union citizentube speech politics news president of the united states president barack obama google moderator ccana Kareropua News amp Politics Pewtunrn 377 Pentunr 2 60 ID avitxo8ueEA ipocmoTpos 189 419 Ao6asnen 4 days ago On Tuesday January 27 President Obama will deliver his first ever State of the One Year In a Closer Look at the Obama Presidency 43 Astop PBSNewsHour Knroyesbie chosa President Obama PBS NewsHour Jeffrey Brown Democrats Health Care ccana Kateropna News amp Politics Pe tunru 598 Pe tnnr 2 64 ID AzMmLvejHMM fIipocmorpos 122 442 AoGasnen 4 days ago As the one year anniversary of President Barack Obama s Inauguration arrives Je You can tell TubePress which language to use via the lang option Simply supply your two letter language and country code lt php TubePressPro getHtmlForShortcode lang it_IT Using Add Ons amp Themes 2 2 TubePress Manual for PHP 41 TubePress Documentation Release On This Page e What are Add Ons amp Themes Tub
18. code gt tags This can ruin the appearance of TubePress often resulting in incorrect font faces or diagonal thumbnail layouts The solution is to use WordPress s Text Editor and remove any lt pre gt or lt code gt tags near your tubepress shortcodes 2 1 TubePress for WordPress 29 TubePress Documentation Release f Dashboard Some new post S Posts All Posts Add New B I 66 m o Ea Categories Paragraph U SAvrvBM wg QO 3 4 Tags nk i Hello this is some text 3 Media za Media tubepress Pages i IB Pages Here is some more text Comments Dashboard Some new post Posts All Posts Visudl Add New b link b quote det ins img ul ol li code more close Categories fullscreen Tags F Hello this is some text Delete these tags Oy Media lt pre gt tubepress lt pre gt iE Pages Here 1S some more text Comments API Latency What you see on youtube com or vimeo com will not be immediately and exactly identical to what s available to TubePress There is often a caching delay before videos are available over the API which TubePress uses It s almost always less than an hour but has been know to take up to an entire day The punchline here is it can take up to a day for your gallery to sync up to the video provider Please read YouTube s explanation for more details regarding the API delay for YouTube
19. e Any YouTube source e Any Vimeo source Supported provider s Vimeo and YouTube Shortcode example tubepress mode youtubeRelated Standalone PHP example TubePressPro getHtmlForShortcode modp youtubeRe output Option name Description Provided with Default value Valid values Supported provider s Shortcode example Standalone PHP example output Defines what HTML TubePress will generate Unless explicitly set TubePress will generate a video gallery Any TubePress distribution empty searchInput HTML input for interactive searching searchOutput Search results from interactive searching player HTML for a single embedded video player only ajaxSearchInput HTML input for asynchronous interactive searching TubePress Pro only empty HTML for a video gallery Vimeo and YouTube tubepress output searchInput TubePressPro getHtmlForShortcode out put searchl 3 1 Options 79 TubePress Documentation Release video Option name video Description Causes TubePress to generate HTML for a single video embed Provided with Any TubePress distribution Default value empty Valid values Any video ID YouTube Vimeo etc that TubePress knows how to handle Supported provider s Vimeo and YouTube Shortcode example tubepress video l1JtHNEDnrnyY Standalone PHP example TubePressPro getHtmlForShortcode video LJtHNEDnrnY Thumbnails Thumb
20. is your problem use the following procedure 1 Using Firefox navigate to a page with a TubePress gallery Open up Firebug Open Firebug s Console tab kk WwW N Refresh the page 5 Check Firebug s console for JavaScript errors The image below shows what JavaScript errors look like in Firebug 26 Chapter 2 User Manuals TubePress Documentation Release ew lt gt Iv Console v HTML CSS Script DOM Net l Clear Persist Profile All Errors Warnings Info Debug Info NetworkError 404 Not Found http www clicktale net i 45599 gif r S amp UID 835254206 6784481 3 amp new amp 1190782973 cis null google K d function a c d e g h this is fd c this pd this Gc 1 this wj The resolution is always to fix the script causing the error Usually this entails identifying which component of your site script plugin etc is causing the error Unfortunately since sites can get extremely complicated there s no one size fits all solution Typically by hovering over the JavaScript errors in Firebug you can pinpoint which JavaScript file is causing the trouble Cross Domain Ajax TubePress uses Ajax extensively in the browser e g to asynchronously load the video player whenever a user clicks a thumbnail By virtue of this TubePress is forced to adhere to the same origin policy of JavaScript The same origin policy should be embraced at least until the Internet settles on
21. load template instance from gallery tpl php with fallbz 2014 01 09 17 57 39 DEBUG Theme Handler Requested theme is default 2014 01 09 17 57 39 DEBUG Theme Handler Found gallery tpl php first try at var www front wordpress wp conter 2014 01 09 17 57 39 DEBUG Theme Handler Successfully loaded template from var wwwi front wordpress wp cor To use it you just need to add tubepress_debug t rue to the URL string in your browser s address bar of any page that uses TubePress on it For instance if the TubePress page you re trying to debug has an address of http ehough com page_id 19 then you should add tubepress_debug t rue to the URL to enable debugging http ehough com page_id 19 amp tubepress_debug true Most of the debug output is self explanatory If the output is cut off unexpectedly it s likely that TubePress encountered a fatal error Check your PHP error logs for more information 48 Chapter 2 User Manuals TubePress Documentation Release Firebug One particular tool which is invaluable in debugging client side problems is Firebug Firebug is an add on for Firefox that gives you x ray vision for any website It s powerful yet easy to use If you re new to Firebug here are some introductory resources to help you learn What is Firebug From the official Firebug site Introductory screencast Shows the general concepts and use cases of Firebug Another introductory screencast A longer
22. n multiple pages Use high quality thumbnails Note this option cannot be used with the randomize thumbnails feature Randomize thumbnail images z Most vid me with several thumbnails By selecting this option each time ome your gallery they will see the same videos with each video s thumbnai ote this option cannot be used with the high quality thumbnails Thumbnails per page 3 Default is 4 Maximum is 5 YouTube Black Bars Remover Hide black bars from YouTube 2 video thumbnails Not all YouTube thumbnails have black bars This option overrides any other thumbnail selection options e g Use high quality thumbnails Flexible Thumbnail Rows Flexible thumbnail rows eight of thumbna szoter com 3 Enable or disable the add on with the checkbox 4 Click the Save button 2 4 4 QuickPlay 72 Chapter 2 User Manuals TubePress Documentation Release On This Page e Introduction e Manuals TubePress for WordPress TubePress for PHP e Additional Notes Controlling Height and Width Show the Latest Video from a Collection Introduction This TubePress add on replaces video thumbnail images with fully functional embedded video players Among other things this allows your users to watch your videos right within the context of your gallery 73 2 4 Official TubePress Add Ons TubePress Documentation Release 4 48 3 42 Here s a list of so 6 24 For their 2014 Sp
23. per page Billing TubePress is available to all Wix com users for a free 30 day trial To continue using the service beyond the trial period we charge a small monthly fee Wix provides detailed instructions on how to pay for TubePress Common Questions e How many sites can I use TubePress on e I started a new website How do I transfer my TubePress purchase e What happens if I miss a payment How many sites can I use TubePress on Wix bills on a per site basis For instance if you have two Wix com websites that are both using TubePress you will be billed twice once for each website However there is no limit to the number of times that you may add TubePress to any website Even if you use TubePress in twenty different places on your site you will still just be billed once 56 Chapter 2 User Manuals TubePress Documentation Release I started a new website How do I transfer my TubePress purchase Since Wix handles billing on our behalf you will need to contact Wix to transfer your upgraded apps to your new site What happens if I miss a payment If your trial period ends before payment or if you miss a payment TubePress will simply go dark on your website and your site visitors will see an empty box where TubePress used to be You may continue to access the TubePress settings from within the site editor After Wix receives payment TubePress will pick up right where you left off You won t lose an
24. the number of videos that show up on a page if result sPerPage gt resultCountCap or reduce the number of pagination links for a gallery Set to 0 to disable any limit All TubePress distributions 0 Any non negative integer Vimeo and YouTube tubepress resultCountCap 100 TubePressPro getHtmlForShortcode resultCountCap 100 88 Chapter 3 Reference TubePress Documentation Release searchResultsRestrictedToUser Option name Description Provided with Default value Valid values Supported provider s Shortcode example Standalone PHP example searchResultsRestrictedToUser For keyword based galleries or during interactive searching this option can filter the results to videos uploaded by the given user All TubePress distributions empty Any YouTube or Vimeo username Vimeo and YouTube tubepress searchResultsRestrictedToUser 3hough TubePressPro getHtmlForShortcode searchResultsRestrictedToUse videoBlacklist Option name Description Provided with Default value Valid values Supported provider s Shortcode example Standalone PHP example videoBlacklist A list of video IDs that should never appear in TubePress s output All TubePress distributions empty A comma separated list of YouTube or Vimeo IDs Vimeo and YouTube tubepress videoBlacklist HSrtIrvcm64 BnS rTbFw2g 3045633 TubePressPro getHtmlForShortcode vide
25. tubepress embeddedHeight 350 Standalone PHP TubePressPro getHtmlForShortcode embeddedHeight 350 example embeddedWidth Option name Description Provided with Default value Valid values embeddedWidth The width in pixels of the embedded video player that TubePress builds All TubePress distributions 425 Any positive integer Supported provider s Vimeo and YouTube Shortcode example tubepress embeddedWidth 350 Standalone PHP example TubePressPro getHtmlForShortcode embeddedWidth 350 enableJsApi Option name Description Provided with Default value Valid values Supported provider s Shortcode example Standalone PHP example enableJsApi Enable or disable the TubePress JavaScript API for this gallery Enabling this API incurs a tiny performance overhead but is required for some features such as autoNext TubePress Pro true true or false Vimeo and YouTube tubepress enableJsApi true TubePressPro getHtmlForShortcode enableJsApi true 84 Chapter 3 Reference TubePress Documentation Release lazyPlay Option name Description Provided with Default value Valid values lazyPlay If enabled video playback will auto start after users clicks a video s thumbnail All TubePress distributions true true or false Supported provider s Vimeo and YouTube Shortcode example tubepress lazyPla
26. 3 The TubePress app will show in your search results Click the Add to Site button to add TubePress to your site Page SERVICES tubepress z Al Apps Easily add beautiful YouTube and Vimeo video galleries to your website wo New ts Mobde Op terruzed TubePress Most Popular Free Trial Free Made by Wix Soca Forms patenes eCommerce Marketing Tools 2 3 TubePress for Wix 51 TubePress Documentation Release 4 TubePress will be added to your site in a box that you may now move around and resize to your liking just like any other Wix element The Mobilizers Mobile Marketing 0n ak ovo Apple Mac 30 Thirty years of innovation g Happy Birthday Mac ZA Apple Mac 30 Apple iPad Air TV Apple iPad Air TV Thirty years of Ad Sound Verse Ad Light Verse innovation 0 31 0 31 2 53 View count 73 813 View count 43 235 You can repeat steps 4 as many times as you like Configuring Simple Configuring TubePress in Wix is extremely simple 1 Click on the TubePress instance that you d like to configure You ll see a popup menu Click the link for App Settings 52 Chapter 2 User Manuals TubePress Documentation Release WiX mn Page SERVICES no oc M B The Mobilizers Mobile Marketing ohono d Appie Mac 30 Thirty years of innovation oR App Settings a Settings Show on all pages
27. 5d4509a4 Vimeo API Access Token Secret d1 the documentation for instructio TubePress for PHP 1 Purchase and download this add on from the TubePress Marketplace 2 Unzip the file you downloaded vimeo all access_x_y_z zip into the add ons subdi rectory of your TubePress Content Directory 3 Ensure you have completed the one time Vimeo API setup 4 Obtain your Vimeo access credentials 5 This add on introduces two new options vimeoApiAccessToken and vimeoApiAccessTo kenSecret You may supply these options along with vimeoKey and vimeoSecret to TubePressPro getHtmlForShortcode eg lt php print TubePressPro getHtmlForShortcode vimeoKey xxxx vimeoSecret xxxx vimeoAccessToker 2 4 Official TubePress Add Ons 63 TubePress Documentation Release TubePress for Wix Users of cloud based TubePress installations e g TubePress Express TubePress for Wix should follow these instruc tions 1 Obtain your Vimeo consumer credentials Obtain your Vimeo access credentials Open up the full settings page for your TubePress instance e win In the window that opens navigate to the Feed tab and scroll down to the Vimeo All Access box EI All TubePress Opti Order videos by hd Per page sort order Maximum total videos to retrieve Video blacklist Restrict search results to videos from author Vimeo All Access Vimeo API Client ID See the documentation for i
28. Ad 253D 25221006 jquery min js line 4 Params Headers Response HTML JSON Cookies itle Champion 20Spotlightt3A 20Evelynn 2C 20the 20Widowmaker html 83Cdiv 20class 3D422tubepress_normal_embedded_wrapper 22420style 3D822width 3A 20575px 22 3E 0A 2082042042083Cdiv 20id 3D422tubepress_embedded_title_1006144134 22820classt3D822tubepress_embedded_title 22 3E 0A 20820820820 20 20Champion 20Spot light 3A820Evelynn 2C820the 20Widowmaker 20 2082082080A 2082082082083C82Fdiva3E80A 20820 2082083Cdiv820id 3D822tubepress embedded _object_1006144134 2283E 0A82082082002082082083Ciframe 20idt3D 22tubepress youtube player hHuGtuWQoC4 22820class 3Dt22youtube player 22420typet3D 22text 2Phtm1 22420wi dth 3D822575 22820height 3D822355822420src IDE2Zht tpt IAEZPEZFwww youtube com 2Fembed 2PhHuGt uWQ0C 483Frel 3D1826autoplayt3D1826100pt3D0826 fs 3D1826showinfot 3D0826wmodes 3Dtransparent 26enablejsapit3D1 26autohides3D1826modestbrandingt3D1822 20frameborder 3D 22082283E83C 2Fiframe3E80A 83Cscript 20types3D822text 2P javascript 228 3ETubePressPlayerApi registert28827hHuGtuW0oC4 2782983BE3C 82Pscript 3E 20 2082082080A8208208208208 3C82Pdi ve 3EROAS2082083CB2PdivEIESOA To fix this issue Google recommends to choose a preferred domain and stick with it Here are some guidelines on how to achieve this 2 1 TubePress for WordPress 27 TubePress Documentation Release e Use HTTP 301 redirects RedirectPermanent in yo
29. AlbumValue 852694 Standalone PHP TubePressPro getHtmlForShortcode mode vimeoAlbum example vimeoAlbumValue 852694 Vimeo documentation Click here 106 Chapter 3 Reference TubePress Documentation Release vimeoAppearsiIn Gallery source vimeoAppearsin Description Vimeo videos in which a given user appears The Vimeo user is identified you supply to the vimeoAppearsInValue attribute Notes Limited to 50 videos Shortcode tubepress mode vimeoAppearsIn example vimeoAppearsInValue dabrainkilla Standalone PHP TubePressPro getHtmlForShortcode mode vimeoAppearsIn example vimeoAppearsInValue dabrainkilla Vimeo Click here documentation vimeoChannel Gallery source vimeoChannel Description Videos from a Vimeo channel The channel is identified by the value supplied to the vimeoChannelValue option Shortcode tubepress mode vimeoChannel vimeoChannelValue besthd example Standalone PHP TubePressPro getHtmlForShortcode mode vimeoChannel example vimeoChannelValue besthd Vimeo Click here documentation vimeoCreditedTo Gallery vimeoCreditedTo source Description Vimeo videos for which a particular user has either uploaded or appeared in The Vimeo user is identified by the value supplied to the vimeoCreditedTo Value option Shortcode tubepress mode vimeoCreditedTo example vimeoCreditedToValue thunderin
30. BUG Theme Handler Requested theme is default 2014 01 09 17 57 39 DEBUG Theme Handler Found gallery tpl php first try at var www front wordpress wp conter 2014 01 09 17 57 39 DEBUG Theme Handler Successfully loaded template from var www front wordpress wp cor To use it you just need to add tubepress_debug true to the URL string in your browser s address bar of any page that uses TubePress on it For instance if the TubePress page you re trying to debug has an address of http ehough com page_id 19 then you should add tubepress_debug t rue to the URL to enable debugging http ehough com page_id 19 tubepress_debug t rue Most of the debug output is self explanatory If the output is cut off unexpectedly it s likely that TubePress encountered a fatal error Check your PHP error logs for more information Firebug One particular tool which is invaluable in debugging client side problems is Firebug Firebug is an add on for Firefox that gives you x ray vision for any website It s powerful yet easy to use If you re new to Firebug here are some introductory resources to help you learn What is Firebug From the official Firebug site Introductory screencast Shows the general concepts and use cases of Firebug 32 Chapter 2 User Manuals TubePress Documentation Release Another introductory screencast A longer more detailed video going over installation and usage Firebug Guide for Web Dev
31. Get TubePress There are two independent installation paths for TubePress 1 One of two downloadable software packages e TubePress for WordPress e TubePress Pro for WordPress and or any PHP site 2 One of two cloud hosted TubePress installations e TubePress Express e TubePress for Wix Either installation path provides nearly identical features but there are a number of drawbacks and advantages to each Cloud hosted TubePress Downloadable TubePress Required technical skills None Basic PHP knowledge Upgrades and patches Automatic Manual or Automatic Installation time None 1 5 minutes usually Extra Premium features All Included automatically Must be installed manually Ability to modify source None Full access Website limitations None works on any site Web server must support PHP 5 2 Pricing 30 day free trial Free and premium versions available Basic PHP knowledge is only required if using TubePress outside of WordPress gt The free version of TubePress can be auto updated when used in WordPress 3 7 or higher 8 Chapier 1 Introduction TubePress Documentation Release 1 3 Getting Help The best place to get assistance with TubePress is the community discussion forum TubePress LLC has knowledge able staff that monitors and responds to new posts in the forums 1 4 License The core of TubePress which comprises a very large percentage of the overall codebase is open source and relea
32. Language TubePress is available in several languages besides English The image below is an example of TubePress when configured for Italian left and Russian right My Favorite Videos Dwayne Johnson aka The Rock 1 38 Autore celebrityplaylists Keywords The Rock wrestling Dwayne Johnson URL Categoria People amp Blogs Valutazioni 840 Valutazione 4 64 ID acSwOyBBhio Visualizzazioni 527 256 Pubblicato 2 days ago Dwayne Johnson aka The Rock tells you a little something about his favorite Your State of the Union Submit Now 1 00 Autore citizentube Keywords obama state of the union citizentube speech politics news president of the united states president barack obama google moderator URL Categoria News amp Politics Valutazioni 377 Valutazione 2 60 ID avitxo8ueEA Visualizzazioni 189 419 Pubblicato 4 days ago On Tuesday January 27 President Obama will deliver his first ever State of the One Year In a Closer Look at the Obama Presidency Autore PBSNewsHour Keywords President Obama PBS NewsHour Jeffrey Brown Democrats Health Care URL Categoria News amp Politics Valutazioni 598 Valutazione 2 64 ID AzMmLvejHMM Visualizzazioni 122 442 Pubblicato 4 days ago As the one year anniversary of President Barack Obama s Inauguration arrives Je My Favorite Videos Dwayne Johnson aka The Rock 1 38 AsTOp celebrityplaylists Kmosesse
33. None Always show both the progress bar and the video controls fadeOnlyProgressBar Fade only the progress bar but continue to show the video controls tubepress autoHide fadeNone TubePressPro getHtmlForShortcode autpHide fadeNn Click here fullscreen Option name Description Provided with Default value Valid values Shortcode example Standalone PHP example YouTube documentation fullscreen Enable or disable the fullscreen playback option All TubePress distributions true true or false tubepress fullscreen false TubePressPro getHtmlForShortcode fullscreen false Click here 3 1 Options 101 TubePress Documentation Release modestBranding Option name modestBranding Description If enabled hides the YouTube logo from the video controls area Provided with All TubePress distributions Default value true Valid values true or false Shortcode example tubepress modestBranding false Standalone PHP TubePressPro getHtmlForShortcode modestBranding false example YouTube documentation Click here showRelated Option name showRelated Description Toggles display of related videos when playback finishes Provided with All TubePress distributions Default value true Valid values true or false Shortcode example tubepress showRelated false Standalone PHP example TubePressPro getHtmlForShortcode showRelated false
34. Note The rest of this section details the contents of config boot json for advanced users Most users can skip this section Let s examine each piece of the file cache Loe container i enabled true add ons lt enabled true classloader enabled true option descriptors enabled true This section of the file enables or disables the caching of individual elements of TubePress s internals Most users will set all of these elements to either t rue or false killer key tubepress_boot_cache_kill The killer key can be used to remotely and securely clear the boot cache The value of ki 1 1ler key can be used as a query parameter to signal to TubePress to clear the boot cache e g if the value of killer key is 456xyz then 456xyz t rue to the URL of a page using TubePress will clear the entire boot cache Gar null The dir option allows you to manually configure a directory where TubePress will store its boot cache If you leave its value as null TubePress will attempt to use the system s cache directory Wadd one r f blacklist This section allows you to identify by name a set of add ons that will be excluded from TubePress If you are not using a particular add on adding it to the blacklist will improve TubePress s performance classloader lt enabled true 2 1 TubePress for WordPres
35. TubePress Documentation Release TubePress LLC August 12 2014 Contents 1 Introduction Vid Features s 22 6 52004464 648 bE Sew S 1 2 How to Get Tub Press 2 ca acne KE Re A L3 Getting Help 2 suc 4 s eat ae oad Re SE PES amp ws LA License s es mioa eschew he SS ke gee ws Pa 2 User Manuals 2 1 TubePress for WordPress ss e ene d ea a 2 2 TubePress Manual for PHP 2 3 MubePress for Wik sc sson i aea a ae bdo ke he 2 4 Official TubePress Add Ons 3 Reference 3A QOPUONS aee oa a we ee AG aK E 3 2 d k 54 peo bee be ea ewe Ee a a Rede es TubePress Documentation Release TubePress adds dynamic and interactive video features to websites It s highly configurable and designed for website builders and users of any skill level A typical use of TubePress is to embed a video gallery into a web page TubePress is available both as a downloadable package and via several cloud hosted zero installation services The software is largely open sourced and it s designed and maintained by TubePress LLC a software company based in Pittsburgh Pennsylvania Contents 1 TubePress Documentation Release 2 Contents CHAPTER 1 Introduction 1 1 Features TubePress allows website builders of any skill level to add dynamic video features to their site Click a feature below to learn more about what TubePress can do for your site 1 1 1 Video Galleries Creating video galleries is how Tu
36. Video Feed Options orderBy e perPagesort e resultCountCap e searchResultsRestrictedToUser e videoBlacklist orderBy Option name orderBy Description Define the overall sort order of the video feed This only applies obviously to video galleries and not individual videos Provided with All TubePress distributions Default value default Valid values commentCount Only applies to YouTube playlist galleries and selected Vimeo galleries Videos with more comments will be shown before others 1 default TubePress chooses the best sort order for the video source e g search based galleries are sorted by relevance and user uploads are sorted by newest duration Only applies to YouTube playlist galleries Longest running videos shown first newest Newest videos first oldest Only applies to the following Vimeo gal leries vimeoUploadedBy vimeoLikes vimeoAppearsiIn vimeoSearch vimeoCreditedTo vimeoGroup position Only applies to YouTube playlist galleries Videos will be shown in the order in which they appear in the playlist random Only applies to Vimeo group based galleries vimeoGroup Retrieves videos in a random order rating Highest rated videos first relevance Only applies to search based galleries Videos with the highest relevance to the search terms will be shown first gt reversedPosition Only applies to YouTube playlist galleries Videos will be shown in the reverse ord
37. aching is enabled 2014 01 09 17 57 37 DEBUG Default Option Descriptor Reference Attempting read contents of cache file at var 2014 01 09 17 57 37 DEBUG Default Option Descriptor Reference Attempting to hydrate from cache file at var w 2014 01 09 17 57 37 DEBUG Default Option Descriptor Reference Successfully hydrated from cache file at var jw 2014 01 09 17 57 37 DEBUG TubePress Bootstrapper Boot completed in 71 796894 milliseconds 2014 01 09 17 57 39 DEBUG Shortcode Parser 2014 01 09 17 57 39 DEBUG Shortcode Parser 2014 01 09 17 57 39 DEBUG Shortcode Parser 2014 01 09 17 57 39 DEBUG Shortcode Parser 2014 01 09 17 57 39 DEBUG Shortcode Parser 2014 01 09 17 57 39 DEBUG Shortcode Parser 2014 01 09 17 57 39 DEBUG Shortcode Parser 2014 01 09 17 57 39 DEBUG Shortcode Parser 2014 01 09 17 57 39 DEBUG Shortcode Parser 2014 01 09 17 57 39 DEBUG Shortcode Parser 2014 01 09 17 57 39 DEBUG Shortcode Parser 2014 01 09 17 57 39 DEBUG Shortcode Parser 2014 01 09 17 57 39 DEBUG Shortcode Parser 2014 01 09 17 57 39 DEBUG Shortcode Parser 2014 01 09 17 57 39 DEBUG Memory Execution Context 2014 01 09 17 57 39 DEBUG Memory Execution Context 2014 01 09 17 57 39 DEBUG Memory Execution Context 2014 01 09 17 57 39 DEBUG Memory Execution Context 2014 01 09 17 57 39 DEBUG Memory Execution Context 2014 01 09 17 57 39 DEBUG Memory Execution Context Fou
38. age post basis with TubePress shortcodes See the documentation for more info Which videos Thumbnails Player Meta Feed Cache AC Comments Vimeo Appearance Plugins Videos from this Vimeo album 40484 Users Videos in this Vimeo channel splitscreenstuff Tools Settings Vimeo search for cats playing piano General Writing Videos uploaded by this Vimeo user mattkaar Reading whee Ece Videos this Vimeo user appears in royksopp Media Permalinks i Sao er Videos credited to this Vimeo user patricklawler TubePress either appears in or uploaded by Add TubePress to Posts and Pages Follow these instructions to use TubePress free or Pro in WordPress posts and or pages It s dead simple Simply type tubepress anywhere in a WordPress post or page When a user visits this post page TubePress will replace tubepress with its generated HTML content You can configure the default TubePress options from within your WordPress administration dashboard by visiting Settings gt TubePress If you just type tubepress on a post or a page these options will be used The real power of the plugin lies in the ability to be invoked in unique ways on multiple posts and pages This is done by passing options to the tubepress shortcode For example say on one page you want to display a gallery of 20 Chapter 2 User Manuals TubePress Documentation Release YouTube videos that are tagged with football want 15 vide
39. ails feature Randomize thumbnail images vY M V veral thumbnails By se ve ne views your gallery they wil see the sa 5 andomized Note this option cannot be th nails feature Thumbnails per page YouTube Black Bars Remover Hide black bars fram YouTube video thumbnails N Y be t bnails have black be s OF verrides ary othe si sete Ip leg Use high quality thurt Standalone PHP 1 Purchase and download this add on from the TubePress Marketplace 2 Unzip the file you downloaded yout ube black bars remover_x_y_z zip into the add ons sub 60 Chapter 2 User Manuals TubePress Documentation Release directory of your TubePress Content Directory 3 This add on introduces the youtubeHideBlackBars option that you may _ supply to TubePressPro getHtmlForShortcode e g lt php print TubePressPro getHtmlForShortcode mode user userValue 3hough youtubeHideBlackBars tr 2 4 2 Vimeo All Access On This Page e Introduction e Manuals TubePress for WordPress TubePress for PHP TubePress for Wix e Obtaining API Credentials Access Token and Secret Consumer Key Client ID and Secret Introduction This TubePress add on provides TubePress with enhanced access to your Vimeo Plus or PRO account thus allowing TubePress to work with private Vimeo videos This is particularly useful if you d like to hide your videos from display on vimeo com and only
40. ainer option descriptors caching is enabled Option Descriptor Reference Successfully hydrated from cache file at serialize TubePress Bootstrapper Boot completed in 28 892893 milliseconds If your debug output is missing any of the highlighted phrases it means that something is misconfigured Feel free to post a question in the forum to get help Clearing the Cache After adding or removing TubePress add ons you ll need to clear the boot cache so TubePress can recognize the changes to your installation You can clear the cache using any web browser and you ll simply need to know the value of killer key that was set in your config boot json As an example suppose that the value of killer key is abc123 then you would add abc123 t rue to the end of any URL where TubePress is used to clear the cache For instance http myblog com videos abc123 true Detailed Explanation Note The rest of this section details the contents of config boot json for advanced users Most users can skip this section Let s examine each piece of the file cache ioc container enabled true by add ons enabled true by classloader enabled true hy option descriptors enabled true 44 Chapter 2 User Manuals TubePress Documentation Release This section of the file enables or disables the caching of individual elements of TubePress s internals Most users will set all of the
41. alue rainbow alligator Vimeo Click here documentation vimeoLikes Gallery source vimeoUploadedBy Description Vimeo videos uploaded by a particular user The Vimeo user is identified by the value supplied to the vimeoUploadedByValue option Shortcode tubepress mode vimeoUploadedBy example vimeoUploadedByValue ehough Standalone PHP TubePressPro getHtmlForShortcode mode vimeoUploadedBy example vimeoUploadedByValue ehough Vimeo Click here documentation Embedded Video Player Embedded Video Player e playerColor 108 Chapter 3 Reference TubePress Documentation Release playerColor Option name Description Provided with Default value Valid values Shortcode example Standalone PHP example YouTube documentation playerColor The highlight color of the Vimeo video player All TubePress distributions 000000 Any six hexadecimal characters representing an HTML color tubepress playerColor A32638 TubePressPro getHtmlForShortcode playerColor A32638 Click here Video Feed Video Feed Options e vimeoKey e vimeoSecret vimeoKey Option name Description Provided with Default value Valid values Shortcode example Vimeo documentation Standalone PHP example vimeoKey The API key that TubePress will use when communicating with Vimeo All TubePress distributions empty Any valid Vimeo API key
42. bePress made a name for itself The software lets you easily embed beautiful highly functional thumbnail galleries throughout you site and you complete control over the entire process A live demo of a TubePress gallery can be seen here TubePress Documentation Release Coles Garden wedding 6 24 5 38 4 38 4 43 TubePress Documentation Release The process to create a video gallery is always the same 1 Choose which videos to display Out of the box TubePress supports a multitude of YouTube and Vimeo video sources More video providers are on the way 2 Configure TubePress to display those videos Check the user manual for your environment for details on how to do this 3 Add the gallery to a website Again this process is different depending on your environment so please refer to your specific user manual Video Galleries from Multiple Sources Note This feature is currently only available with the downloadable TubePress Pro It is not yet available on the cloud hosted TubePress services but that functionality is coming soon With TubePress Pro you can create galleries that are composed of video from multiple video sources TubePress can even combine videos from multiple video providers for instance you can easily have YouTube and Vimeo videos intermingled in the same gallery As an example say that you want to create a single gallery containing videos from the following sources all comb
43. ble JavaScript Errors After clicking thumbnail video never loads Cross Domain Ajax My videos aren t showing up with TubePress API Latency No HTTP transports could execute message Locked Down PHP Installation 2 2 TubePress Manual for PHP 45 TubePress Documentation Release JavaScript Errors If your website has JavaScript errors they can prevent TubePress from operating correctly TubePress expects your page to load cleanly i e there should be no JavaScript errors caused by other scripts plugins themes etc The reason is that TubePress relies on jQuery s ready function which can get interrupted if other scripts cause errors To diagnose if this is your problem use the following procedure 1 Using Firefox navigate to a page with a TubePress gallery 2 Open up Firebug 3 Open Firebug s Console tab 4 Refresh the page 5 Check Firebug s console for JavaScript errors The image below shows what JavaScript errors look like in Firebug oo Chd R ti Console HTML CSS Script DOM Net l Clear Persist Profile All Errors Warnings Info Debug Info x NetworkError 404 Not Found http www clicktale net i 45599 gif r 5 amp UID 835254206 67844813 amp new amp l1190782973 c lt is null google K d function a c d e g h this is fd c this pd this Gc 1 this wj The resolution is always to fix the script causing the error Usually this entails identifying which compo
44. cted Name value pair detected mode user unfiltered mode user filtered userValue PenWeddings unfiltere userValue PenWeddings filtered youtubeHideBlackBars true unfilte youtubeHideBlackBars 1 filtered resultsPerPage 12 unfiltered resultsPerPage 12 filtered thumbWidth 144 unfiltered thumbWidth 144 filtered thumbHeight 81 unfiltered thumbHeight 81 filtered mode user userValue PenWeddings youtubeHideBlackBars 1 resultsPerPage 12 2014 01 09 17 57 39 DEBUG Memory Execution Context Accepted valid value 2014 01 09 17 57 39 DEBUG Memory Execution Context Accepted valid value 2014 01 09 17 57 39 DEBUG Memory Execution Context Accepted valid value 2014 01 09 17 57 39 DEBUG Memory Execution Context Accepted valid value 2014 01 09 17 57 39 DEBUG Memory Execution Context Accepted valid value thumbWidth 144 2014 01 09 17 57 39 DEBUG Memory Execution Context Accepted valid value thumbHeight 81 2014 01 09 17 57 39 DEBUG Search Output Shortcode Handler Not configured for search results 2014 01 09 17 57 39 DEBUG Memory Execution Context Accepted valid value galleryid 1478746967 2014 01 09 17 57 39 DEBUG Thumb Gallery Shortcode Handler Starting to build thumbnail gallery 1478746967 2014 01 09 17 57 39 DEBUG Theme Handler Attempting to load template instance from gallery tpl php with fallbi 2014 01 09 17 57 39 DE
45. d it should come up as the first result 12 Chapter 2 User Manuals TubePress Documentation Release A TubePress recat necks Install Plugins Posts Search Search Results Upload Featured Popular Newest Media Keyword tubepress Search Plugins Pages Name Version Rating Comments TubePress 3 15 Kw AAi Details Install Now Appearance g amp Plugins Installed Plugins Add New Akismet e Users 2 Vimeo users only Perform the one time Vimeo API setup If the dashboard installation method is not available or if you d prefer to install the plugin manually here s how to do it 1 Download the plugin from its page on wordpress org 2 Follow these instructions to finish the manual installation and activation 3 Vimeo users only Perform the one time Vimeo API setup TubePress Pro Installation of TubePress Pro into a WordPress environment must be performed manually since TubePress Pro is open but not public source code 1 If you haven t already purchase a TubePress Pro license Download TubePress Pro from here Follow these instructions to finish the manual installation and activation of the plugin Vimeo users only Perform the one time Vimeo API setup nan AeA WwW N Optional Install support for Shadowbox js and or JW Player 5 Vimeo API Setup Note If you aren t using Vimeo you can safely skip this section In order to use TubePress with Vimeo you are requir
46. d Vimeo Asynchronous paging through gallery pages video playback does not stop Asynchronous interactive video search Play videos with Fancybox or Tinybox 2 1 1 Manual Contents Install Upgrade This page details how to install upgrade and uninstall TubePress when used as a WordPress plugin 11 TubePress Documentation Release On this page e Requirements e Install Free Version TubePress Pro Vimeo API Setup Optional TubePress Pro Installations x JW Player version 5 x Shadowbox js e Upgrade Free Version TubePress Pro e Uninstall Requirements It s a good idea to first make sure that your web server meets the minimum requirements to run TubePress You will need PHP 5 2 or higher e PHP DOM extension enabled by default in PHP only required for using TubePress with YouTube e PHP PCRE extension built with PCRE version 7 1 or higher enabled in most PHP installations Not sure if your server meets these requirements You should either 1 Ask your hosting provider good idea to include a link to this page 2 Install a WordPress plugin that prints out system information Here are some examples e WordPress phpinfo e WP ServerInfo Install Free Version Installing the free WordPress plugin is simple The easiest method is from your WordPress dashboard 1 Follow these instructions to perform the plugin installation and activation You can search for tubepress an
47. dd ons blacklist Fr classloader enabled true 3 Replace each instance of false with t rue and set the value of killer key to a random string Your copy of tubepress content config boot json should now look something like this cache joc container enabled true f Wadd ons enabled true r classloader enabled true F option descriptors enabled true f killer key tIEKrw84k7z760811D815363425xa15370W uair s pull add ons blackiisi F 2 2 TubePress Manual for PHP 43 TubePress Documentation Release classloader enabled true 4 Verify that the boot cache is working by examining your TubePress debug output You should see something similar to the following Defaul Defaul Defaul Defaul Defaul Defaul Default Defaul Ch GR Ch oct Ch Gt Defaul Boot Boot Boot Boot Config Service Config Service Config Service Config Service Add on Discoverer IOC Boot Helper Boot Config Service Attempting to read boot config from var www ttg lan wordpress Successfully read boot config from var www ttg lan wordpress nh classloader caching is enabled add ons caching is enabled Successfully hydrated from cache file at serialized addons t Boot Config Service ioc container caching is enabled Successfully hydrated from cache file at cached ioc cont
48. distributions Default value 3600 Valid values Any non negative integer Supported provider s Vimeo and YouTube Shortcode example tubepress cacheLifetimeSeconds 1800 Standalone PHP TubePressPro getHtmlForShortcode cacheLifetimeSeconds 18d0 example Advanced Advanced Options e debugging_enabled gallerylid httpMethod https debugging_enabled Option name debugging_enabled Description Enables or disables TubePress debugging Keeping this enabled is a slight privacy risk so if you are not experiencing difficulty with TubePress then feel free to disable it Provided with All downloadable TubePress distributions Default value true Valid values true or false Supported Vimeo and YouTube provider s Shortcode tubepress debugging_enabled true example Standalone TubePressPro getHtmlForShortcode debugging_enabled true PHP example 96 Chapter 3 Reference TubePress Documentation Release galleryId Option name Description Default value Valid values Supported provider s Shortcode example Standalone PHP example Provided with gallerylid Explicitly set the unique identifier of this HTML element By default TubePress will assign a large random number to each element that it produces This allows TubePress to differentiate and coordinate between multiple elements on the same page By setting this option you can choose a cons
49. e tab 4 Click on any TubePress thumbnail You should see a new XHR request show up as TubePress performs its Ajax request ey Console HTML CSS Script DOM Net Cookies p DLII ig Clear Persist Profile All Errors Warnings Info Debuginfo Cookies 46 Chapter 2 User Manuals TubePress Documentation Release 5 Expand this request using the expand icon on the left to view the results You should see a small medium JSON result If you see anything else here or nothing at all then something is wrong 2 y Console HTML CSS Script DOM Net Cookies p eoo ig Clear Persist Profile All Errors Warnings Info Debuginfo Cookies Params Headers Response HTML JSON Cookies title Champion 20Spotlight43A 20Evelynn42C 20the 20Widowmaker html 43Cdiv 20class 3D 22tubepress_normal_embedded_wrapper 22820stylet3D322widtht3A420575px82283E 0A 20 20820820 3Cdiv 20id 3D822tubepress_embedded_title_1006144134 22420class 3D 22tubepress_embedded_title 22 3Et0A 204208420320 420 20Champion 20Spotlightt3A 20 velyan 2C420thet20Widowmaker 20420842042040A 204208420920 3C 2Fdiv 3E 0A 20 2042082043Cdivt20id 3D422tubepress_embedded_object_1006144134 2283E90A220 2082082082082083Ci framet20id 3D822tubepress youtube player hHuGtuWoC4 22420class 3D 22youtube player 22820typet3D822text 2Phtml 22820widtht3D822575 22820hei ght 3D 22355822820srct 3D22ht tps IAG2PE2Pwww youtube comt2Fembed 2PhHuGt ulWQoC 443Fr
50. e Description Provided with Default value Valid values Shortcode example Standalone PHP example rating Toggle display of the video s average rating All TubePress distributions false true or false tubepress rating true TubePressPro getHtmlForShortcode rating true ratings Option name Description Provided with Default value Valid values Shortcode example Standalone PHP example ratings Toggle display of the number of times the video has been rated All TubePress distributions false true or false tubepress ratings true TubePressPro getHtmlForShortcode ratings true 3 1 3 Vimeo Options 3 1 Options 105 TubePress Documentation Release On This Page e Gallery Sources vimeoAlbum vimeoAppearsIn vimeoChannel vimeoCreditedTo vimeoGroup vimeoLikes vimeoSearch vimeoLikes e Embedded Video Player playerColor e Video Feed vimeokey vimeoSecret e Video Meta Display likes Gallery Sources Gallery Sources e vimeoAlbum e vimeoAppearsiIn e vimeoChannel e vimeoCreditedTo vimeoGroup e vimeoLikes e vimeoSearch e vimeoLikes vimeoAlbum Gallery source vimeoAlbum Description Videos from a Vimeo album The album is identified by the value supplied to the vimeoAlbumValue option Shortcode example tubepress mode vimeoAlbum vimeo
51. e very simple PHP HTML file show below Feel free to create this file or extrapolate the concepts into your existing PHP As you can see by the highlighted lines of code there are four key points lt php include var www html myblog com lib tubepress_pro_x_y_z src main php classes TubePressPro php TubePressPro setBaseUrl http myblog com lib tubepress_pro_x_y_z gt lt html gt lt head gt lt title gt TubePress Pro lt title gt lt php print TubePressPro getHtmlForHead true gt lt head gt lt body gt 40 Chapter 2 User Manuals TubePress Documentation Release lt php print TubePressPro getHtmlForShortcode mode tag tagValue pittsburgh steelers resi lt body gt lt html gt 1 Include the TubePress Pro class definition TubePressPro php An absolute path works best 2 Call TubePressPro setBaseUrl with the web accessible URL of your TubePress Pro installation 3 Include this statement in the HTML head of your document to print out the required TubePress CSS and JavaScript libraries It takes a single parameter which indicates whether or not to include jQuery If you are already including jQuery in your document use false for this parameter 4 The getHtmlForShortcode function takes a single string parameter which is any valid TubePress short code It returns the HTML output of TubePress You may repeat this function call as many times as you like Changing the Default
52. e1 3D1426autoplay 3D1426100p 3D0826 fs 3D1926showinfot 30082 6wmodet 3Dtransparent 26enablejsapi 3D1826autohidet 3D1 426modestbranding 3D1 22 20frameborder 3D 22082243E 3C 2Fiframet3E 0A 3Cscript 20types3D422text 2P javascript 228 3ETubePressPlayerApi registert28427hHuGtuWQoC4 27 2983B83C 2Pscript 3E20 2082082080A8208208208208 3C82Fdi ve 3E80A82082083C82Fdiva3ER0A gt gt gt To fix this issue Google recommends to choose a preferred domain and stick with it Here are some guidelines on how to achieve this e Use HTTP 301 redirects RedirectPermanent in your htaccess file to smartly redirect users to your preferred domain In Apache you can do this with an htaccess file In IIS you can do this through the administrative console e WordPress users should make sure that both their Site Address and WordPress Address match their preferred domain you can set these at WP Admin gt Settings gt General e If you use TubePress Pro in a PHP environment make sure that the domain you set with TubePressPro setBaseUrl matches your preferred domain API Latency What you see on youtube com or vimeo com will not be immediately and exactly identical to what s available to TubePress There is often a caching delay before videos are available over the API which TubePress uses It s almost always less than an hour but has been know to take up to an entire day The punchline here is it can take up to a day
53. ePress Content Directory e Installing Add Ons amp Themes What are Add Ons amp Themes TubePress add ons are small software packages that add or change the default functionality of TubePress TubePress themes are template sets that can change the layout and or appearance of TubePress The central source for all TubePress add ons and themes is the TubePress Marketplace There you can browse and download add ons and themes developed by both TubePress LLC as well as community contributions TubePress Content Directory Both add ons and themes are stored in the TubePress Content Directory which is a special directory inside your TubePress installation located at tubepress_pro_x_y_z tubepress content The TubePress Content Directory has a few rules First it must always be named tubepress content It must also have the following immediate subdirectories add ons TubePress add ons that aren t shipped with TubePress config Boot time configuration for TubePress themes Stores any custom TubePress themes Installing Add Ons amp Themes To install an add on or theme simply unzip into the add ons or themes subdirectory respectively For instance if you have downloaded an add on named some_tubepress_feature zip you would unzip into the add ons directory so that the filesystem path of the add on would look something like tubepress content add ons some_tubepress_feature The next time TubePress is invoked it
54. ear Tree Estate T Hotel Zaza St wedding Anne s The ertille Sefolosha 4 48 Corinthian wedding 3 42 ID TglhaKSHWSY 6 24 ID 96HdK RzobE ID mV4xV8Lx7r8 View count 1 183 osted Jan 1 2014 View co unt150 View count 1 910 pete posted lan 9 20 Coles Garden 8mm wedding film 4 55 Mayo Hotel wedding 4 38 ID qsTtflTxudyY Norman wedding video Oklahoma weddin View count 1 733 ID 1XY xEHoGuDc videographers Date posted Oct 30 2013 View count 813 5 38 met with Bronwyn ans Date posted Oct 21 2013 ID D YAHSSiBSOkM Mayo Hotel First Coles Garden wedding uo ed Methodist 4 43 Oklahoma wedding wedding D _PLN40WsdnM videographers 6 06 View count 1 789 4 39 ID CYXkwOjQAPk Date posted Sep 27 2013 D B2jrN2d0B34 View count 1 398 Kylee and Jay or JJ as we View count 1 552 alled Date Engagement shoot Five Oaks Lodge Love Story film at wedding Art wedding Boone Pickens 4 36 4 20 Stadium ID C83E w9g hs ID 8FneuFnFlJw 7 59 View count 2 500 View count 2 308 ID wQczcemCfLn8 View count 1 04 Date posted Aug 4 2013 There was an overall Date posted Jul 29 2013 leff and lulia had a simole roe Hotel wedding Philbrook Museum of Perini Ranch wedding film 4 37 ID UtwYmr zE5s View count 2 234 Date posted Nov 6 2013 fi Skelly Lodge wedding 4 38 ID QhidsDdVS5o View count 1 482 Date posted Oct 9 2013
55. ecret Reading Discussion Vimeo API Consumer Secret 78e79e9a1 6fe1e7003 Media Click here to register for a consumer key and secret Permalinks TubePress Make sure not to mix up the key and the secret 16 Chapter 2 User Manuals TubePress Documentation Release Optional TubePress Pro Installations Due to licensing restrictions TubePress Pro does not ship with every library that the free WordPress plugin includes However it s very easy to install these optional libraries manually This section provides installation instructions JW Player version 5 x TubePress can use JW Player 5 10 to play YouTube videos We are working to integrate JW Player 6 x but this feature is not yet ready for production 1 Download the file player swf from here 2 Upload the file to your TubePress Pro installation at lt tubepress_home gt src main web flash longtail player swf Shadowbox js 1 Download Shadowbox js from here The image below shows the required options when configuring your down load You may select additional checkboxes though not recommended but make sure that at least the settings shown are chosen 2 1 TubePress for WordPress 17 TubePress Documentation Release Shadowbox js Download This page allows you to create a custom build of Shadowbox that includes only the feat project Compiling all of the necessary source files into one improves performance and Choose the adapter yo
56. ed to obtain a consumer key and consumer secret from Vimeo This is a one time setup required by Vimeo Thankfully it s easy to create these credentials and supply them to TubePress 2 1 TubePress for WordPress 13 TubePress Documentation Release 1 Log in to Vimeo if you haven t already 2 Click here to create a new Vimeo app You can fill in anything for the fields Below is a sample form that s filled out Then click the Create App button 14 Chapter 2 User Manuals Vimeo Create a new App App Description App Logo URL App Callback URL agree that my application does not violate the Required TubePress Documentation Release APIs Playe TubePress Documentation Release 3 Make a note of the Client ID and Client secret of your new app See the red box below for an idea of what it should look like My Advanced API Apps my amazing website http Aoo bar Use TubePress within my website Client ID 172d2148d952d4 Client secret 1e965c515b044d OAuth access token 840f3a18a8264b572b14a40b555c39f3 Upload Access None Request Upload Access That s it You now simply need to provide these credentials to TubePress You can do this from WP Admin gt Settings gt TubePress gt Feed Tools Settings Vimeo General a Vimeo API Consumer Key cd302609d805c90a1 feb4a4e1 96bf622e Writing Click here to register for a consumer key and s
57. eed to give TubePress the ID of the video you d like to embed For instance if you want to embed the YouTube video with ID J51kfduNSaA you would use use the following shortcode tubepress video J51kfduN5aA 1 1 3 Interactive Searching On this page e Introduction e Search Input e Search Results e Ajax Enabled Search Results Introduction TubePress provides an end to end solution for allowing your users to interactively search YouTube or Vimeo all without leaving your site The image below is a simple example showing an interactive search input along with a few results 6 Chapier 1 Introduction TubePress Documentation Release pittsburgh steelers Search Pittsburgh Steelers 2010 2011 Pittsburgh 2011 12 Pittsburgh Madden NFL 12 Unstoppable Steelers Black And Steelers Hype Up Video Gameplay Pittsburgh 2 49 Yellow 7 17 Steelers vs Cleveland Views 527 776 4 09 Views 9 191 Browns HD ES Posthumus Unstoppad Views 1 103 816 Just a litte something for th 4 46 is the song Check out my A tribute video to the city of upcoming Pittsburgh Steeler Views 31 284 r M sronts foori amend io Se pe Wee amp SOMES GAMEPLAY COMMENTARY 5 fana CHANGE 7 STEELERS JAMES MADDENEVOLUTION HARRISON SOUNDS OFF Madden 11 Kilo Replay Episode 3 Pittsburgh Pittsburgh Steelers Big 2 amp Some Change ft Mike Wallace andthe Steelers 1st amp 10 2009 Hits 7 13 11 Pittsburgh Pittsburg
58. elopers A detailed well written overview of Firebug with pictures 2 2 TubePress Manual for PHP TubePress Pro is available to use as a mature PHP library which makes it accessible to nearly any website that runs PHP 2 2 1 Manual Contents Install Upgrade This page details how to install upgrade and uninstall TubePress when used as a standalone PHP library On this page e Requirements e Install Vimeo API Setup Optional TubePress Pro Installations x JW Player version 5 x Shadowbox js e Upgrade Requirements It s a good idea to first make sure that your web server meets the minimum requirements to run TubePress You will need PHP 5 2 or higher e PHP DOM extension enabled by default in PHP only required for using TubePress with YouTube e PHP PCRE extension built with PCRE version 7 1 or higher enabled in most PHP installations Additionally if you intend to use TubePress in any language other than English TubePress for PHP requires the PHP Multibyte String extension enabled in most PHP installations Not sure if your server meets these requirements You should either 1 Ask your hosting provider good idea to include a link to this page 2 Use our PHP file which checks your server for the requirements Here s how to use it 1 Using a web browser visit this URL You ll see some PHP source code 2 Save the source code to disk File gt Save from your web browser s menu or just
59. er of the position sort order title Only applies to YouTube playlist galleries Videos will be shown in alphabetical order of their titles viewCount Most viewed videos first Supported provider s Vimeo and YouTube Shortcode example tubepress orderBy newest Standalone PHP example TubePressPro getHtmlForShortcode ordprBy newest 3 1 Options 87 TubePress Documentation Release perPageSort Option name Description Provided with Default value Valid values perPageSort Defines an additional sorting to apply to each individual page of a video gallery All TubePress distributions none commentCount Videos with more comments will be shown before others duration Longest running videos shown first newest Newer videos first none Do nothing oldest Older videos first random Shuffles the videos rating Highest rated videos first title Videos will be shown in alphabetical order of their titles viewCount Most viewed videos first Supported provider s Vimeo and YouTube Shortcode example tubepress perPageSort title Standalone PHP example TubePressPro getHtmlForShortcode perPageSort ti resultCountCap Option name Description Provided with Default value Valid values Supported provider s Shortcode example Standalone PHP example resultCountCap Set a maximum limit on the total number of videos in a gallery This can both limit
60. ess Default value false Valid values true or false Supported provider s Vimeo and YouTube Shortcode example tubepress hqThumbs true Standalone PHP example TubePressPro getHtmlForShortcode hqThumbs true paginationAbove Option name paginationAbove Description Show pagination links Next Prev etc above the thumbnail gallery Provided with Any TubePress distribution Default value true Valid values true or false Supported provider s Vimeo and YouTube Shortcode example tubepress paginationAbove true Standalone PHP TubePressPro getHtmlForShortcode paginationAbove true example 3 1 Options 81 TubePress Documentation Release paginationBelow Option name paginationBelow Description Show pagination links Next Prev etc below the thumbnail gallery Provided with Any TubePress distribution Default value true Valid values true or false Supported provider s Vimeo and YouTube Shortcode example tubepress paginationBelow true Standalone PHP TubePressPro getHtmlForShortcode paginationBelow true example randomize_thumbnails Option name randomize_thumbnails Description Most videos come with several thumbnails By setting this option to true each time a user visits a gallery they will see a randomly selected thumbnail for each video This option conflicts with hqThumbs Provided with Any TubePress distrib
61. for your gallery to sync up to the video provider Please read YouTube s explanation for more details regarding the API delay for YouTube Locked Down PHP Installation If you get an error message from TubePress that looks like No HTTP transports could execute GET to it means that you PHP installation has been configured to block nearly all network operations This is often done as a security measure to prevent malicious PHP scripts from phoning home TubePress needs to open HTTP connections to talk to video providers like YouTube or Vimeo Under the hood TubePress uses the shortstop HTTP client which attempts to use the following PHP mechanisms e cURL extension e HTTP extension e fsockopen e fopen e Streams extension So the solution is to allow TubePress to use one or more of these mechanisms You or your hosting provider must perform at least one of the following e Install and allow the cURL extension e Install and allow the HTTP extension e Remove fsockopen from the list of disabled functions 2 2 TubePress Manual for PHP 47 TubePress Documentation Release e Remove fopen from the list of disabled functions Troubleshooting Tools Debugging Mode _ TubePress s debug mode will print a huge amount of logging statements to the screen It will describe in extreme detail what TubePress is doing behind the scenes 2014 01 09 17 57 37 DEBUG Default Boot Config Service option descriptors c
62. gh availability varies normal normal Embedded player is placed above thumbnail gallery popup Videos play in an HTML popup window youtube User is taken to the video s home on youtube com for viewing vimeo User is taken to the video s home on vimeo com for viewing shadowbox Video plays in a modal window with Shadowbox js jqmodal Video plays in a modal window with jq Modal solo Page refreshes and video player replaces the thumbnail gallery static Like normal but each thumbnail click trig gers a page refresh tinybox Video plays in a modal window with Tiny Box Not available in free WordPress plugin fancybox Video plays in a modal window with Fan cybox Not available in free WordPress plugin verLocation Supported provider s Vimeo and YouTube Shortcode example tubepress playerLocation popup Standalone PHP example TubePressPro getHtmlForShortcode pla showInfo Option name Description Provided with Default value Valid values Supported provider s Shortcode example Standalone PHP example showInfo Show or hide the video s title description and other meta information on the embedded video itself before playback begins All TubePress distributions false true or false Vimeo and YouTube tubepress showInfo true TubePressPro getHtmlForShortcode showInfo true Video Feed 86 Chapter 3 Reference TubePress Documentation Release
63. gherd Standalone TubePressPro getHtmlForShortcode mode vimeoCreditedTo PHP example vimeoCreditedToValue thunderingherd Vimeo Click here documentation vimeoGroup Gallery source vimeoGroup Description Videos from a Vimeo group The group is identified by the value supplied to the vimeoGroupValue option Shortcode tubepress mode vimeoGroup vimeoGroupValue underachievers example Standalone PHP TubePressPro getHtmlForShortcode mode vimeoGroup example vimeoGroupValue underachievers Vimeo Click here documentation 3 1 Options 107 TubePress Documentation Release vimeoLikes Gallery source vimeoLikes Description Vimeo videos that a particular user has liked The Vimeo user is identified by the value supplied to the vimeoLikesValue option Shortcode tubepress mode vimeoLikes vimeoLikesValue besthd example Standalone PHP TubePressPro getHtmlForShortcode mode vimeoLikes example vimeoLikesValue besthd Vimeo Click here documentation vimeoSearch Gallery source vimeoSearch Description Vimeo videos that match a supplied search term The search term is identified by the value supplied to the vimeoSearchValue option Shortcode tubepress mode vimeoSearch vimeoSearchValue rainbow example alligator Standalone PHP TubePressPro getHtmlForShortcode mode vimeoSearch example vimeoSearchV
64. h Steelers AFC Championship 3 40 Steelers James Harrisc Madden NFL 11 Sport Baltimore vs Pittsburgh Views 149 Sounds Off Sports 10 15 8 05 some of the biggest hits fron 5 05 Views 2 080 Views 467 the steelers must watch Views 4 981 Like everything else with TubePress interactive searching has loads of options and is fully customizable to suit your needs To use the feature you ll need to invoke TubePress twice 1 Once for displaying the search input and 2 Once more for displaying the user s search results Let s go over each invocation in detail Search Input Searching wouldn t be very fun if you didn t provide an easy way for your users to search With TubePress it s really easy tubepress output searchInput When invoked on your page this shortcode will print out a search input box along with a submit but ton If you d like to customize the HTML of either of these you can edit your theme s HTML template at search search_input tpl php By default the search form will submit back to the same page If you want the results to show up on another page just set searchResultsUrl1 most users shouldn t need to do this tubepress output searchInput searchResultsUrl http mysite com videos php Now that you have a search input form you ll need to invoke TubePress somewhere else to display the search results 1 1 Features 7 TubePress Documentation Release Search Results Displayi
65. hed for matching videos All TubePress distributions empty The name of a search provider Current either youtube or vimeo Supported provider s Vimeo and YouTube Shortcode example tubepress searchProvider vimeo Standalone PHP TubePressPro getHtmlForShortcode searchProvider vimeo example searchResultsDomId Option name Description Provided with Default value Valid values Supported provider s Shortcode example Standalone PHP example searchResultsDomId Used with the detached playerLocation option this option defines a jQuery selector for which TubePress should place the search results TubePress Pro empty Any valid jQuery selector Vimeo and YouTube tubepress searchResultsDomId tubepress search results div TubePressPro getHtmlForShortcode searchResultsDomId tubepr Is search res 3 1 Options 93 TubePress Documentation Release searchResultsOnly Option name searchResultsOnly Description If set to true this shortcode will produce search results only after the user has submitted search terms It will be invisible if the user is not searching Provided with All TubePress distributions Default value false Valid values true or false Supported Vimeo and YouTube provider s Shortcode tubepress searchResultsOnly true example Standalone TubePressPro getHtmlForShortcode searchResultsOnly true
66. hit Ct r1 S It should be saved somewhere on your local machine and the name of the file should be check php 3 Upload check php to your website s document root 4 Using a web browser visit http lt yourdomain com gt check php The output of this page should be self explanatory and will look similar to the following 2 2 TubePress Manual for PHP 33 TubePress Documentation Release Check TubePress requirements Check 1 4 PHP version OK detected PHP version 5 4 3 Check 2 4 DOM extension OK detected dom extension version 20031129 Check 3 4 PCRE extension WARN pcre detected but unable to determine version please manually verify the version below Check 4 4 mbstring extension WARN mbstring extension is missing but this extension is only required if you intend to run TubePress Pro in a standalone PHP environment Checks passed but there were warnings This server might meet the requirements for TubePress 13 25 50 EST 2012 i686 Build Date May 14 2012 12 57 55 Configure configure host i686 redhat linux gnu build i686 redhat linux gnu Command target i386 redhat linux program prefix program suffix 54 prefix usr local with pdo mysq with pdo pgsql enable bcmath enable calendar enable exif enable ftp enable mbstring enable soap enable ci Linux web200 webfaction com 2 6 18 274 18 1 el5PAE 1 SMP Thu Feb 9 Install
67. humbWidth 150 Embedded Video Player Embedded Video Player Options e autoNext autoplay e embeddedHeight e embeddedWidth e enableJsApi lazyPlay e loop e playerImplementation e playerLocation e showInfo autoNext Option name autoNext Description Automatically start the next video in a gallery when playback of a video finishes Provided with TubePress Pro e Any cloud hosted TubePress Default value false Valid values true or false Supported provider s Vimeo and YouTube Shortcode example tubepress autoNext true Standalone PHP example TubePressPro getHtmlForShortcode autpNext true 3 1 Options 83 TubePress Documentation Release autoplay Option name Description Provided with Default value Valid values autoplay Automatically start video playback of any embedded video when the page is loaded All TubePress distributions false true or false Supported provider s Vimeo and YouTube Shortcode example tubepress autoplay true Standalone PHP example TubePressPro getHtmlForShortcode autoplay true embeddedHeight Option name Description Provided with Default value Valid values embeddedHeight The height in pixels of the embedded video player that TubePress builds All TubePress distributions 350 Any positive integer Supported provider s Vimeo and YouTube Shortcode example
68. in which the TubePress API cache can store its contents This directory must be writable by the web server s PHP process owner If this option is left empty TubePress will attempt to find and use the system temporary directory All downloadable TubePress distributions rcache Default value empty Valid values An absolute path of a writeable by the PHP process owner directory on the web server or empty Supported Vimeo and YouTube provider s Shortcode tubepress cacheDirectory tmp tubepress cache example Standalone TubePressPro getHtmlForShortcode cacheDirectory tmp tubepress PHP example cacheEnabled Option name Description Provided with Default value Valid values Supported provider s Shortcode example Standalone PHP example cacheEnabled Enables or disables the TubePress API cache This can significantly improve the performance of TubePress at the slight expense of freshness All downloadable TubePress distributions false true or false Vimeo and YouTube d true tubepress cacheEnab Enabled tru tHtmlForShortcode cach wey TubePressPro ge 3 1 Options 95 TubePress Documentation Release cacheLifetimeSeconds Option name cacheLifetimeSeconds Description How long in seconds before an item in the TubePress API cache is considered to be stale Provided with All downloadable TubePress
69. ined into a single gallery T e the YouTube playlist F5D324185EE73FEC e uploads from YouTube user bbc e uploads from YouTube user funnyordie e YouTube search for the exact term spirit of truth e the Vimeo album 140484 This is easy to accomplish with TubePress Pro The trick is to use in some of your shortcode options to combine the sources For the example above the TubePress shortcode might look like this tubepress mode playlist user tag vimeoAlbum playlistValue F5D324185EE73FEC userValue bbc funnyordie tagValue spirit of truth vimeoAlbumValue 140484 The videos from all 5 sources will be collected and seamlessly assembled into a single TubePress gallery You can combine any number of gallery sources with any number of parameters to each source Please keep in mind the following gotchas e The resultsPerPage option will apply to each source so expect each gallery page to contain up to resultsPerPage x lt number of sources gt videos per page In the example above assuming resultsPerPage was set to 10 there would be 40 videos per page 10 videos per page x 4 sources e It is strongly recommended to enable the TubePress API cache as TubePress has to perform one network operation for each video source e As the user pages through the gallery some of the sources will drop off quietly For instance if one video source has 1 000 videos and another has 10 videos
70. ingle file located within your TubePress content directory at config boot json In TubePress 3 1 0 this file and the config directory are included by default In older versions of TubePress simply create tubepress content config boot json and fill it with the following contents cache ioc container enabled hy add ons enabled hy classloader enabled hy false false false option descriptors VWenabled false 2 1 TubePress for WordPress 23 TubePress Documentation Release hy killer key tubepress_boot_cache_kill dir null add ons Blacklaisti classloader enabled true 3 Replace each instance of false with t rue and set the value of kil ler key to a random string Your copy of tubepress content config boot json should now look something like this cache joc container enabled true r add ons enabled true r classloader enabled true F option desctiptors 2 enabled true d killer key tIEKrw84k7z760811D815363425xa15370W air null Fy add ons blacklist J classloader enabled true 4 Verify that the boot cache is working by examining your TubePress debug output You should see something similar to the following Default Boot Config Service Attempting to read boot config from var www ttg lan word
71. is page documents the options available with the YouTube Black Bars Remover add on for TubePress youtubeHideBlackBars Option name Description Provided with Default value Valid values Shortcode example Standalone PHP example youtubeHideBlackBars Hides the black bars on most YouTube thumbnails YouTube Black Bars Remover add on false true or false tubepress youtubeHideBlackBars true TubePressPro getHtmlForShortcode youtubeHideBlackBars true 3 1 7 QuickPlay Options This page documents the options available with the QuickPlay add on for TubePress enableQuickplay Option name Description Provided with Default value Valid values Supported provider s Shortcode example Standalone PHP example enableQuickplay Replaces video thumbnail images with fully functional embedded video players QuickPlay add on false true or false Vimeo and YouTube tubepress enableQuickplay true TubePressPro getHtmlForShortcode enableQuickplay true 3 2 Index Documentation Index 3 2 Index 111
72. k here documentation tag Gallery tag source Description YouTube videos matching a search term Supply space separated search terms to the tag Value attribute To search for an exact phrase enclose the phrase in double quotes Use the pipe character to indicate a boolean OR and the minus character to exclude a term Notes Limited to approximately 1000 videos Shortcode tubepress mode tag tagValue pittsburgh steelers highlights example playoffs Standalone TubePressPro getHtmlForShortcode mode tag PHP example tagValue pittsburgh steelers highlights playoffs YouTube doc Click here umentation 3 1 Options 99 TubePress Docu mentation Release user Gallery source user Description YouTube videos uploaded by a specific YouTube user The YouTube user is defined by the value you supply to the userValue attribute Notes Limited to 1000 videos Shortcode tubepress mode user userValue 3hough example Standalone PHP TubePressPro getHtmlForShortcode mode user example userValue 3hough YouTube Click here documentation youtubeMostPopular Gallery youtubeMostPopular source Description The most popular YouTube videos selected using a YouTube algorithm that combines many different signals to determine overall popularity You can supply al1_time or today to the youtubeMostPopularVal
73. l TubePress distributions Default value true Valid values true or false Supported provider s Vimeo Shortcode example tubepress length false Standalone PHP example TubePressPro getHtmlForShortcode length false relativeDates Option name Description Provided with Default value Valid values relativeDates Toggle display of relative dates such as last year instead of Nov 3 1980 All TubePress distributions false true or false Supported provider s Vimeo or YouTube Shortcode example tubepress relativeDates true Standalone PHP TubePressPro getHtmlForShortcode relativeDates true example ao ee 3 1 Options 91 TubePress Documentation Release tags Option name Description Provided with tags Toggle display of the video keywords All TubePress distributions Default value false Valid values true or false Supported provider s Vimeo Shortcode example tubepress tags true Standalone PHP example TubePressPro getHtmlForShortcode tags true title Option name Description Provided with Default value Valid values title Toggle display of the video title All TubePress distributions true true or false Supported provider s Vimeo and YouTube Shortcode example tubepress title false Standalone PHP example TubePressPro getHtmlForShortcode title false uploaded Op
74. lds Below is a sample form that s filled out Then click the Create App button 2 2 TubePress Manual for PHP 35 TubePress Documentation Release Create a new App App Description App Logo URL App Callback URL agree that my application does not violate the Required TubePress Documentation Release 3 Make a note of the Client ID and Client secret of your new app See the red box below for an idea of what it should look like My Advanced API Apps my amazing website http Aoo bar Use TubePress within my website Client ID 172d2148d952d4 Client secret 1e965c515b044d OAuth access token 840f3a18a8264b572b14a40b555c39f3 Upload Access None Request Upload Access That s it You now simply need to provide these credentials to TubePress You ll have to provide the key and secret via the vimeoKey and vimeoSecret options in TubePress You can pass these into the getHtmlForShortcode function lt php print TubePressPro getHtmlForShortcode vimeoKey M7e80GsvU8Ld4TW7e80LsvU8Ld4TM7e80Ls vimeoSse Make sure not to mix up the key and the secret Optional TubePress Pro Installations Due to licensing restrictions TubePress Pro does not ship with every library that the free WordPress plugin includes However it s very easy to install these optional libraries manually This section provides installation instructions JW Player version 5 x TubePress ca
75. lexible thumbnail rows szoter com Standalone PHP 1 Purchase and download this add on from the TubePress Marketplace 70 Chapter 2 User Manuals TubePress Documentation Release 2 Unzip the file you downloaded f lexible thumbnail rows_x_y_z zip into the add ons subdirec tory of your TubePress Content Directory 3 This add on introduces the flexibleThumbnailRows option that you may supply to TubePressPro getHtmlForShortcode e g lt php print TubePressPro getHtmlForShortcode mode user userValue 3hough flexibleThumbnailRows t TubePress for Wix This add on is pre installed for users of cloud based TubePress installations e g TubePress Express TubePress for Wix Here s how to use it 1 Open up the full settings page for your TubePress instance 2 In the window that opens navigate to the Thumbnails tab and scroll down to the Flexible Thumb nail Rows box 2 4 Official TubePress Add Ons 71 TubePress Documentation Release All TubePress Options ae oppe a select Which videos ayer Meta Feed Appearance Theme default can change the HTML structure and in some cases the overall Height px of thumbs 83 Default width px of thumbs 147 Default is 12 74 Ajax enabled pagination Show pagination above thumbnails Only applies to galleries that span multiple pages Show pagination below thumbnails 2 Only applies to gallenes that
76. mover_x_y_z zip into the add ons sub directory of your TubePress Content Directory 3 Configure this add on from WP Admin gt Settings gt TubePress Navigate to the Thumbnails tab and scroll to the bottom of the page There you will see a checkbox which enables disables the black bar removal 2 4 Official TubePress Add Ons 59 TubePress Documentation Release Dashboard TubePress Options Only show options applicable P Posts Here you can set the default options for TubePress Each option here can be overridden on a per page past basis with TubePress shortcodes See the documentation for more information to select Oh Media Pages Which videos a ee a neces Comments Theme defaut gt Appearance The TubePress there to use for this gallery Your themes can be found at Plugins vor wea Front wordpress mp content tubepress content themes and ault themes can be found at oo Users vor wea E ront wordpress mp content pLugins tubepress src moin resources de Tools Height px of thurnbs 99 Ga Settings fau a Writing Width px of thumbs Reading Default is 120 Ajax enabled pagination v Use fluid thumbnails v TubePres mS NNa aly set th bnall spadng based on the width of ther containe Show pagination above thurnbnails v Only apples to galeries tha a u e pages Show pagination below thumbnails v Only tog w Ige Use high quality thumbnails Note ppti annot be used with the randomize thumbn
77. n tubepress vimeoApiAccessToken TubePressPro getHtmlForShortcode vimeoApiAccessT Click here vimeoApiAccessTokenSecret Option name Description Provided with Default value Valid values Shortcode example Standalone PHP example Vimeo documentation vimeoApiAccessTokenSecret The API secret that TubePress will use when communi cating with Vimeo e All cloud based TubePress distributions Vimeo All Access add on empty Any valid Vimeo API access token secret tubepress vimeoApiAccessTokenSecret a TubePressPro getHtmlForShortcode vimeoApiAccessT Click here 3 1 5 Flexible Thumbnail Row Options This page documents the options available with the Flexible Thumbnail Rows add on for TubePress 110 Chapter 3 Reference TubePress Documentation Release flexibleThumbnailRows Option name flexibleThumbnailRows Description Automatically adjust the height of thumbnail rows in TubePress galleries ensuring that the metadata runtime title description etc for each video is completely visible Provided with Flexible Thumbnail Rows add on Default value false Valid values true or false Supported Vimeo and YouTube provider s Shortcode tubepress flexibleThumbnailRows true example Standalone TubePressPro getHtmlForShortcode flexibleThumbnailRows true PHP example 3 1 6 YouTube Black Bars Remover Options Th
78. n use JW Player 5 10 to play YouTube videos We are working to integrate JW Player 6 x but this feature is not yet ready for production 1 Download the file player swf from here 2 Upload the file to your TubePress Pro installation at lt tubepress_home gt src main web flash longtail player swf 2 2 TubePress Manual for PHP 37 TubePress Documentation Release Shadowbox js 1 Download Shadowbox js from here The image below shows the required options when configuring your down load You may select additional checkboxes though not recommended but make sure that at least the settings shown are chosen 38 Chapter 2 User Manuals TubePress Documentation Release Shadowbox js Download This page allows you to create a custom build of Shadowbox that includes only the feat project Compiling all of the necessary source files into one improves performance and Choose the adapter you ll be using Select the player s for the types of content you want to display Images External sites and pages Inline and or dynamic HTML Flash swf files Flash video flv files QuickTime Windows Media Player Choose the language support you need include support for using CSS selectors to select links The current version of Shadowbox is 3 0 3 2 The download will save to a file named something like shadowbox 3 0 3 zip Unzip this file and it will expand into a directory named shadowbox 3 0 3 3 Copy the co
79. nail Options e ajaxPagination e fluidThumbs e hqThumbs e paginationAbove e paginationBelow e randomize_thumbnails resultsPerPage e thumbHeight e thumbWidth ajaxPagination Option name ajaxPagination Description Use Ajax to paginate clicking on Next etc through galleries Provided with rovided w1 TubePress Pro e Any cloud hosted TubePress Default value true Valid values true or false Supported provider s Vimeo and YouTube Shortcode example tubepress ajaxPagination true Standalone PHP example TubePressPro getHtmlForShortcode ajakPagination 80 Chapter 3 Reference TubePress Documentation Release fluidThumbs Option name fluidThumbs Description Dynamically adjust the width of thumbnail columns to best fit their container This generally improves the appearance of the thumbnail gallery but can cause problems in complex site layouts Provided with All TubePress distributions Default value true Valid values true or false Supported Vimeo and YouTube provider s Shortcode tubepress fluidThumbs false example Standalone TubePressPro getHtmlForShortcode fluidThumbs false PHP example hqThumbs Option name hqThumbs Description Use higher quality thumbnails This allows thumbnail sizes greater than 120px x 90x without causing distor tion Provided with rovided w1 e TubePress Pro e Any cloud hosted TubePr
80. nd a shortcode gallery tubepress mode user userValue Candidate options detected in shortcode gallery tubepress mo Name value pair detected Name value pair detected Name value pair detected Name value pair detected Name value pair detected Name value pair detected Name value pair detected Name value pair detected Name value pair detected Name value pair detected Name value pair detected Name value pair detected Accepted valid value Accepted valid value Accepted valid value Accepted valid value Accepted valid value Accepted valid value mode user unfiltered mode user filtered userValue PenWeddings unfiltere userValue PenWeddings filtered youtubeHideBlackBars true unfilte youtubeHideBlackBars 1 filtered resultsPerPage 12 unfiltered resultsPerPage 12 filtered thumbWidth 144 unfiltered thumbWidth 144 filtered thumbHeight 81 unfiltered thumbHeight 81 filtered mode user userValue PenWeddings youtubeHideBlackBars 1 resultsPerPage 12 thumbWidth 144 thumbHeight 81 2014 01 09 17 57 39 DEBUG Search Output Shortcode Handler Not configured for search results 2014 01 09 17 57 39 DEBUG Memory Execution Context Accepted valid value galleryid 1478746967 2014 01 09 17 57 39 DEBUG Thumb Gallery Shortcode Handler Starting to build thumbnail gallery 1478746967 2014 01 09 17 57 39 DEBUG Theme Handler Attempting to
81. nent of your site script plugin etc is causing the error Unfortunately since sites can get extremely complicated there s no one size fits all solution Typically by hovering over the JavaScript errors in Firebug you can pinpoint which JavaScript file is causing the trouble Cross Domain Ajax TubePress uses Ajax extensively in the browser e g to asynchronously load the video player whenever a user clicks a thumbnail By virtue of this TubePress is forced to adhere to the same origin policy of JavaScript The same origin policy should be embraced at least until the Internet settles on a new policy as its a crucial guard against malicious sites However this means that a small domain misconfi guration can lead to a broken misbehaving TubePress installation As an example say that you have a domain ehough com and are serving a web site at this address loading up http ehough com works normally for your users and TubePress detects that ehough com is the domain that it will use But you also have the site available without HTTP redirects via http www ehough com Users that access the site via the www ehough com domain will experience a broken TubePress installation as TubePress will attempt to make a cross domain Ajax request to echough com To diagnose if this if your problem use the following procedure 1 Using Firefox navigate to a page with a TubePress gallery 2 Open up Firebug 3 Open Firebug s Consol
82. ng search results is also easy Add the following shortcode wherever on the page you d like the search results to show up paN tubepress output searchResults searchProvider vimeo The searchProvider option can be set to either youtube or vimeo and this determines if the gallery will display YouTube videos or Vimeo videos This shortcode will also display a placeholder gallery if the user isn t searching but you can make it invisible until it has search results by setting searchResultsOnly tubepress output sSearchResults searchProvider youtube searchResultsOnly true To configure the resulting thumbnail gallery of search results simply add any TubePress options to this shortcode Ajax Enabled Search Results With TubePress Pro search results are displayed asynchronously i e without a full page load It s also a bit easier to set up than standard searching because you only need to invoke TubePress once on the page The only catch is you also have to identify the DOM element where you want the search results to show up tubepress output ajaxSearchInput searchResultsDomId somediv searchProvider vimeo For the searchResult sDomId option value just use any jQuery selector that uniquely identifies a DOM element that can accept HTML Like the standard search input you can customize the HTML for the search input elements by editing your theme s HTML template at search ajax_search_input tpl php 1 2 How to
83. nstructions Vimeo API Client secret See the documentation for instructions Vimeo API Access Token See the documentation for instructions Vimeo API Access Token Secret See the documentation for instructions 5 Enter the credentials obtained in Step 1 into the Client ID and Client secret text boxes 6 Enter the credentials obtained in Step 2 into the Access Token and Access Token Secret boxes 7 Click the Save button Obtaining API Credentials Access Token and Secret You will need to supply an additional set of Vimeo API credentials to TubePress an Access Token with a corre sponding Access Token Secret This is a one time step for this add on 64 Chapter 2 User Manuals TubePress Documentation Release 1 Visit https developer vimeo com apps You should see a list of any Vimeo apps that you have created Click on the app that you are using for TubePress 2 At the bottom of the page you will see a box containing your Access Token and Access Token Secret ccess Token to access your accc with this app dd5a625d8 aef80le5f77bdb Read write delete Consumer Key Client ID and Secret Note Only cloud based TubePress users e g TubePress Express TubePress for Wix etc need to follow these instructions as users of downloadable distributions of TubePress should have completed this step during installation 1 Log in to Vimeo if you haven
84. ntents of this directory not the directory itself to your TubePress Pro installation at 2 2 TubePress Manual for PHP 39 TubePress Documentation Release lt tubepress_home gt src main web players shadowbox 1lib 4 Optional You may see scrollbars in the Shadowbox js display To fix this simply edit lib shadowbox css On line 8 remove the overflow auto attribute i e change it from sb player html height 100 o0verflow auto to sb player html height 100 Upgrade The easiest and most reliable way to upgrade TubePress Pro is to perform a side by side installation with the new version alongside the old Here s the exact process 1 Repeat the TubePress Pro installation procedure with the latest copy of TubePress Pro 2 Optional Copy over the TubePress Content Directory from your old TubePress installation tubepress_pro_x_y_z gt tubepress content This is only required if you are using custom Tube Press add ons or themes 3 In the PHP files where you use TubePress Pro edit TubePressPro setBaseUrl and the path to TubePressPro php to point to your new install location Using TubePress in PHP On This Page e Add TubePress to any PHP Page e Changing the Default Language Add TubePress to any PHP Page Follow these instructions to use TubePress Pro in a standalone PHP environment You can integrate TubePress into any PHP page on your site For demonstration purposes we will use th
85. nuals TubePress Documentation Release add ons TubePress add ons that aren t shipped with TubePress config Boot time configuration for TubePress themes Stores any custom TubePress themes Installing Add Ons amp Themes To install an add on or theme simply unzip into the add ons or themes subdirectory respectively For instance if you have downloaded an add on named some_tubepress_feature zip you would unzip into the add ons directory so that the filesystem path of the add on would look something like tubepress content add ons some_tubepress_feature The next time TubePress is invoked it will detect and load the new files Advanced Topics On This Page e Boot Cache Enabling Clearing the Cache Detailed Explanation Boot Cache Starting with TubePress 3 1 0 TubePress can take advantage of a boot cache that can dramatically speed up Tube Press In our lab testing we typically see a 300 400 reduction in execution time with the boot cache enabled Enabling Enabling the cache is easy you ll just need a text editor Here s how to do it 1 Ensure that TubePress debugging is enabled so that you can verify that the cache is working In standalone PHP environments this is enabled by default In WordPress environments ensure the box at WP Admin gt Settings gt TubePress gt Advanced gt Enable Debugging is ticked 2 TubePress s boot process is controlled by a s
86. o6asnen 4 days ago As the one year anniversary of President Barack Obama s Inauguration arrives Je TubePress will determine which language to use based on the WP_LANG setting that you can define in wp config php Details for how to switch the language of your WordPress blog can be found here Using Add Ons amp Themes On This Page e What are Add Ons amp Themes e TubePress Content Directory e Installing Add Ons amp Themes What are Add Ons amp Themes Much like WordPress itself TubePress can be infinitely customized by add ons and themes Note TubePress add ons and themes should not be confused with WordPress plugins and themes While conceptually similar the two are not interchangeable The central source for all TubePress add ons and themes is the TubePress Marketplace There you can browse and download add ons and themes developed by both TubePress LLC as well as community contributions TubePress Content Directory Both add ons and themes are stored in the TubePress Content Directory which is a special directory inside your WordPress installation located at wo content tubepress content TubePress is able to automatically gen erate this directory for you in most cases and by default it s mostly empty The TubePress Content Directory has a few rules First it must always be named tubepress content It must also have the following immediate subdirectories 22 Chapter 2 User Ma
87. oBlacklist HSrtIrvcm64 BnS rTbFw2g 3045633 Video Meta Display r 3hough author Video Meta Display Options category dateFormat description descriptionLimit id length relativeDates tags title uploaded ied views 3 1 Options 89 TubePress Documentation Release author Option name author Description Toggle display of the video uploader s username Provided with All TubePress distributions Default value false Valid values true or false Supported provider s Vimeo and YouTube Shortcode example tubepress author true Standalone PHP example TubePressPro getHtmlForShortcode author true category Option name category Description Toggle display of the video category Provided with All TubePress distributions Default value false Valid values true or false Supported provider s YouTube Shortcode example tubepress category true Standalone PHP example TubePressPro getHtmlForShortcode category true dateFormat Option name dateFormat Description Set the textual formatting of date information for videos See date for examples Provided with All TubePress distributions Default value Mj Y Valid values Any valid format for PHP s date function Supported Vimeo and YouTube provider s Shortcode example tubepress dateFormat 1 jS of F Y h i s A Standalone PHP TubePressPro getHtmlForShortcode
88. oads of jQuery will not only significantly hurt the load time of your site but it will also break TubePress There are two ways to see if your site is loading jQuery more than once 1 Inspect your HTML source hit Ct r1 F and search for jquery You should only see one JavaScript file loaded for jQuery 2 Use Firebug s Net tab to examine the scripts loaded on your page The image below shows what multiple jQuery loads looks like in Firebug 28 Chapter 2 User Manuals TubePress Documentation Release gt GET jquery min js 304 Not Modified gt GET jquery js ver 1 7 1 304 Not Modified The solution in this case is to pare down your scripts to a single jQuery load How this solution is accomplished depends on your environment e In TubePress Pro for PHP this will usually involve simply editing your site s header to only include jQuery once e In TubePress for WordPress typically the best method is to disable your plugins one by one until you find the offending plugin and or theme At that point you ll need to either edit the plugin theme s PHP or ask the original author to include jQuery the right way WordPress s Visual Editor Interference When authoring a post or a page from your WordPress administrative dashboard WordPress allows you to use both the Visual Editor as well as the Text Editor Unfortunately the Visual Editor sometimes wraps TubePress shortcodes with HTML lt pre gt or lt
89. os per page and want to play the videos in an HTML poupup window On this page you would type tubepress mode tag tagValue football playerLocation popup resultsPerPage 15 on the page where you want the gallery to show up And say on another page you want to display a different gallery with the options that you setin Settings gt TubePress On this page you would type tubepress where you want TubePress to inject its content Follow this procedure for unlimited galleries on unlimited posts pages Just use any TubePress option to control TubePress Add TubePress to WordPress Templates Note TubePress Pro is required to use this feature and basic PHP knowledge is recommended Follow these instructions to use TubePress Pro inside WordPress templates The code snippet below shows the world s simplest WordPress template with TubePress Pro added As you can see by the highlighted lines below there are only 2 steps lt php include WP_PLUGIN_DIR tubepress_pro_x_y_z src main php classes TubePressPro php get_header print TubePressPro getHtmlForShortcode mode tag tagValue pittsburgh steelers if have_posts while have_posts the_post the_content endwhile endif get_sidebar get_footer gt Notes on the two highlighted lines above 1 Include the TubePress Pro library file TubePressPro php Not that in the code sample above you will need to replace tubepress_p
90. press Default Boot Config Service Successfully read boot config from var www ttg lan wordpress w Default Boot Config Service classloader caching is enabled Default Boot Config Service add ons caching is enabled Default Add on Discoverer Successfully hydrated from cache file at serialized addons t Default Boot Config Service ioc container caching is enabled Default IOC Boot Helper Successfully hydrated from cache file at cached ioc container Default Boot Config Service option descriptors caching is enabled Default Option Descriptor Reference Successfully hydrated from cache file at serialize TubePress Bootstrapper Boot completed in 28 892893 milliseconds If your debug output is missing any of the highlighted phrases it means that something is misconfigured Feel 24 Chapter 2 User Manuals TubePress Documentation Release free to post a question in the forum to get help Clearing the Cache After adding or removing TubePress add ons you ll need to clear the boot cache so TubePress can recognize the changes to your installation You can clear the cache using any web browser and you ll simply need to know the value of kil ler key that was set in your config boot json As an example suppose that the value of killer key is abc123 then you would add abc123 t rue to the end of any URL where TubePress is used to clear the cache For instance http myblog com videos abc123 true Detailed Explanation
91. pter 2 User Manuals CHAPTER 3 Reference 3 1 Options 3 1 1 Core Options 77 TubePress Documentation Release On This Page e General mode output video e Thumbnails ajaxPagination fluidThumbs hqThumbs paginationAbove paginationBelow randomize_thumbnails resultsPerPage thumbHeight thumbWidth e Embedded Video Player autoNext autoplay embeddedHeight embeddedWidth enableJsApi lazyPlay loop playerImplementation playerLocation showInfo e Video Feed orderBy perPageSort resultCountCap searchResultsRestrictedToUser videoBlacklist e Video Meta Display author category dateFormat description descriptionLimit id length relativeDates tags title uploaded url views e Interactive Search searchProvider searchResultsDomId searchResultsOnly searchResultsUrl e API Cache cacheCleaningFactor cacheDirectory cacheEnabled 78 cacheLifetimeSeconds e Advanced debugging_enabled galleryld a on eee 2 ee oa ee Chapter 3 Reference TubePress Documentation Release General General Options mode output e video mode Option name Description Provided with Default value Valid values mode Defines the source for a video gallery Any TubePress distribution youtubeMostPopular
92. ring S things about Kelly amp his g of Oklahoma chose a dramatic day 1 blac e 5 38 There were so many be unique things about Wh an Norma hae In 0 00 3 42 e st of son esome 6 24 For their 2014 S m abou Ss wed S TubePress Documentation Release Note This add on is currently only available for the downloadable TubePress distributions Manuals TubePress for WordPress 1 Purchase and download this add on from the TubePress Marketplace 2 Unzip the file you downloaded quickplay_x_y_z zip into the add ons subdirectory of your TubePress Content Directory 3 Copy or symlink the directory at wo content tubepress content add ons quickplay_x_y_z tubepress t to wp content tubepress content themes quickplay 4 Anytime you add TubePress to a post or page set the options enableQuickplay true and theme quickplay e g tubepress enableQuickplay true theme quickplay TubePress for PHP 1 Purchase and download this add on from the TubePress Marketplace 2 Unzip the file you downloaded quickplay_x_y_z zip into the add ons subdirectory of your TubePress Content Directory 3 Copy or symlink the directory at tubepress content add ons quickplay_x_y_z tubepress theme to tubepress content themes quickplay 4 Anytime you add TubePress to a page set the options enableQuickplay true and theme quickplay e g lt php print TubePre
93. ro_x_y_z with the actual version of TubePress Pro that you downloaded e g tubepress_pro_3_2_6 2 The getHtmlForShortcode static function takes a single string parameter which is any space separated combination of TubePress options It returns the HTML output of TubePress as a string You may repeat this function call as many times as you like any with any combination of options Changing the Default Language TubePress is available in several languages besides English The image below is an example of TubePress when configured for Italian left and Russian right 2 1 TubePress for WordPress 21 TubePress Documentation Release My Favorite Videos Dwayne Johnson aka The Rock 1 38 Autore celebrityplaylists Keywords The Rock wrestling Dwayne Johnson URL Categoria People amp Blogs Valutazioni 840 Valutazione 4 64 ID acSwOyBBhio Visualizzazioni 527 256 Pubblicato 2 days ago Dwayne Johnson aka The Rock tells you a little something about his favorite Your State of the Union Submit Now 1 00 Autore citizentube Keywords obama state of the union citizentube speech politics news president of the united states president barack obama google moderator URL Categoria News amp Politics Valutazioni 377 Valutazione 2 60 ID avitxo8ueEA Visualizzazioni 189 419 Pubblicato 4 days ago On Tuesday January 27 President Obama will deliver his first ever State of the One
94. s 25 TubePress Documentation Release By default TubePress uses its own high performance PSR 0 compliant class loader If you would like to use a class loader defined elsewhere you can set this value to false FAQ amp Troubleshooting On This Page e Common Problems JavaScript Errors Cross Domain Ajax Missing tubepress js Multiple Instances of jQuery WordPress s Visual Editor Interference API Latency Locked Down PHP Installation e Troubleshooting Tools Debugging Mode Firebug Common Problems Use the table below to find a solution to your problem Problem Possible causes and solutions Video thumbnails are unclickable After clicking thumbnail video never loads Layout is unstyled or ugly My videos aren t showing up with TubePress No HTTP transports could execute message e JavaScript Errors e Missing tubepress js e Multiple Instances of jQuery Cross Domain Ajax WordPress s Visual Editor Interference API Latency Locked Down PHP Installation JavaScript Errors If your website has JavaScript errors they can prevent TubePress from operating correctly TubePress expects your page to load cleanly i e there should be no JavaScript errors caused by other scripts plugins themes etc The reason is that TubePress relies on jQuery s ready function which can get interrupted if other scripts cause errors To diagnose if this
95. se elements to either t rue or false killer key tubepress_boot_cache_kill The killer key can be used to remotely and securely clear the boot cache The value of ki 1 1ler key can be used as a query parameter to signal to TubePress to clear the boot cache e g if the value of killer key is 456xyz then 456xyz t rue to the URL of a page using TubePress will clear the entire boot cache dir null The dir option allows you to manually configure a directory where TubePress will store its boot cache If you leave its value as null TubePress will attempt to use the system s cache directory add ons blacklist F This section allows you to identify by name a set of add ons that will be excluded from TubePress If you are not using a particular add on adding it to the blacklist will improve TubePress s performance Classloader enabled true By default TubePress uses its own high performance PSR 0 compliant class loader If you would like to use a class loader defined elsewhere you can set this value to false FAQ amp Troubleshooting On This Page e Common Problems JavaScript Errors Cross Domain Ajax API Latency Locked Down PHP Installation e Troubleshooting Tools Debugging Mode Firebug Common Problems Use the table below to find a solution to your problem Problem Possible causes and solutions Video thumbnails are unclicka
96. sed under the Mozilla Public License 2 0 MPL 2 0 You can browse the source code for TubePress on GitHub The premium products sold by TubePress LLC are built as add ons to TubePress and these products are under a proprietary closed source license 3Basic PHP knowledge is only required if using TubePress outside of WordPress 4The free version of TubePress can be auto updated when used in WordPress 3 7 or higher 1 3 Getting Help 9 TubePress Documentation Release 10 Chapter 1 Introduction CHAPTER 2 User Manuals Below you can find tailored user manuals for using TubePress and its related software in various environments 2 1 TubePress for WordPress TubePress is available to use as a WordPress plugin which makes it a breeze to use on any WordPress site While the WordPress plugin is available 100 for free we recommend the premium version of the plugin TubePress Pro TubePress Pro includes all the features of the free TubePress plugin plus the following additional capabilities Priority technical support i e you jump to the front of the line Use in WordPress templates outside post or page content Multiple video sources in a single unified gallery e g YouTube Vimeo in the same gallery Auto next playback when a video ends start playback of the next video in the gallery Full HTTPS capability Extended controls for the YouTube video player Highest resolution thumbnails from YouTube an
97. show them on your TubePress powered site To make a video private choose the last radio icon in the privacy settings for the video as shown below 2 4 Official TubePress Add Ons 61 TubePress Documentation Release Vimeo Me Videos Create Watch Tools Upload Video Settings Privacy Basic Privacy Add To Embed Video File Advanced Privacy Settings A Video hidden on Vimeo com Who can watch this video Anyone Only me Only people I follow Only people choose Only people with a password Hide this video from Vimeo com Manuals TubePress for WordPress 1 Purchase and download this add on from the TubePress Marketplace 2 Unzip the file you downloaded vimeo all access_x_y_z zip into the add ons subdirectory of your TubePress Content Directory 3 Ensure you have completed the one time Vimeo API setup 4 Obtain your Vimeo access credentials 5 Supply your newly obtained credentials from Step 4 to TubePress at WP Admin gt Settings gt TubePress gt Feed On this tab you will see two new text boxes for this add on 62 Chapter 2 User Manuals TubePress Documentation Release TubePress Options Order videos by Per page sort order hd Manzimum total videos to retrieve Video Diackiist Permalinks TubePress Restrict search results to videos from author O Vimeo All Access Vimeo API Access Token 524b6ee801f9cb64d36 e the documentation for instructio a3dc4fe
98. ssPro getHtmlForShortcode enableQuickplay true theme quickplay Additional Notes Controlling Height and Width To control the height and width of the embedded video players you can simply use the embeddedHeight and embed dedWidth options thumbHeight and thumbWidth are ignored when this add on is in use Show the Latest Video from a Collection A common question we get from customers is How can I have an embedded video player that automatically shows the latest video from my YouTube or Vimeo channel 2 4 Official TubePress Add Ons 75 TubePress Documentation Release With QuickPlay this is easy The trick is to set resultCountCap to 1 and orderBy to newest For instance say that you d like to show the latest video from YouTube user engineerguyvideo WordPress users would use the following shortcode tubepress mode user userValue engineerguyvideo resultCountCap 1 orderBy newest enableQuickp Similarly PHP users could use the following invocation of TubePressPro getHtmlForShortcode lt php TubePressPro getHtmlForShortcode mode user userValue engineerguyvideo resultCountCap 1 o The result is an always updating fully customizable single video embed that you can embed anywhere on your site This video is based on a chapter from the EngineerGuy Team s New Book Pn a Ve How a lead acid battery works 4 56 View count 153 850 76 Cha
99. tant ID so that you can refer to the element via JavaScript All downloadable TubePress distributions empty Any string though a positive integer is recommended Vimeo and YouTube tubepress galleryId 12345 TubePressPro getHtmlForShortcode galleryId 12345 httpMethod Option name Description Provided with Default value Valid values Supported provider s Shortcode example Standalone PHP example httpMethod Defines the HTTP method to use for most Ajax operations that TubePress performs This can be useful to change when TubePress is used in web servers with tight security requirements All downloadable TubePress distributions GET GET or POST case sensitive Vimeo and YouTube tubepress httpMethod POST TubePressPro getHtmlForShortcode httpMethod POST https Option name Description Provided with Default value Valid values Supported provider s Shortcode example example Standalone PHP https Serve thumbnails and embedded video player over a secure connection This is useful if you are running TubePress inside an HTTPS only site TubePress Pro only false true or false YouTube tubepress https true TubePressPro getHtmlForShortcode https true 3 1 2 YouTube Options 3 1 Options 97 TubePress Documentation Release On This Page e Gallery Sources playlist favorites tag user yout
100. th Default value Valid values Shortcode example Standalone PHP example YouTube documentation youtubeShowAnnotations Show video annotations by default All TubePress distributions false true or false tubepress youtubeShowAnnotations true TubePressPro getHtmlForShortcode youtubeShowAnnotations t Click here youtubeShowPlayerControls Irue Option name Description Provided with Default value Valid values Shortcode example Standalone PHP example YouTube documentation youtubeShowPlayerControls Toggles display of the video controls All TubePress distributions showDelayed hide Hide all video controls showImmediate Show the video controls When the Flash player is used Flash will load immediately showDelayed Show the video controls When the Flash player is used Flash will load when video playback begins tubepress youtubeShowPlayerControls TubePressPro getHtmlForShortcode you Click here fFadeNone Video Feed 3 1 Options 103 CubeShowPlay TubePress Documentation Release Video Feed Options e developerKey e embeddableOnly e filter_racy developerKey Option name developerKkey Description YouTube API developer key YouTube will use this developer key for logging and debugging purposes if you experience a service problem on their end Provided with All downloadable TubePress distributions Default value hidden
101. the second page of the gallery won t contain any of the latter source s videos 1 1 2 Single Video Embeds Embedding a single video into a website is easy and common Nearly every video provider includes an embed option for each video that provides an HTML lt iframe gt that can be added to any website If you re reading this you ve probably done this countless times 1 1 Features 5 TubePress Documentation Release TubePress improves the embedding process by 1 Abstracting away the HTML No need to copy and paste a long and complicated lt i frame gt snippet 2 Allowing you to control the embedded video player e g colors behavior size etc 3 Bringing in all of the video s meta information length description author keywords etc You can even have fine grained control over how the meta information is presented it s just simple HTML Help for Addicted Doctors Dr Rodney Hough on CBS 21 gt s 4 Dr Rodney y Hough 21 A Dr Rodney Hou oh Zi Keywords doctors drug addiction pennsylvania physicians health 3 29 Author 3hough Category People amp Blogs Number of ratings 1 Average rating 5 00 View count 5 809 Date posted Sep 11 2009 My father Dr Rodney Hough interviewed by CBS back in 2007 regarding his recovery from addiction to pain pills This aired on CBS 21 News which servers central Pennsylvania in February 2008 To embed a single video with TubePress you simply n
102. tion name Description Provided with Default value Valid values uploaded Toggle display of the video upload date All TubePress distributions false true or false Supported provider s Vimeo and YouTube Shortcode example tubepress uploaded true Standalone PHP example TubePressPro getHtmlForShortcode uploaded true url Option name Description Provided with Default value Valid values url Toggle display of the video URL All TubePress distributions false true or false Supported provider s Vimeo and YouTube Shortcode example tubepress url true Standalone PHP example TubePressPro getHtmlForShortcode url true 92 Chapter 3 Reference TubePress Documentation Release views Option name Description Provided with Default value Valid values Supported provider s Vimeo and YouTube Shortcode example tubepress views false Standalone PHP example TubePressPro getHtmlForShortcode views false views Toggle display of the video view count All TubePress distributions true true or false Interactive Search Interactive Search Options e searchProvider e searchResultsDomId e searchResultsOnly e searchResultsUrl searchProvider Option name Description Provided with Default value Valid values searchProvider The name of a video provider e g YouTube or Vimeo which should be searc
103. u ll be using Select the player s for the types of content you want to display Images External sites and pages Inline and or dynamic HTML Flash swf files Flash video flv files QuickTime Windows Media Player Choose the language support you need include support for using CSS selectors to select links The current version of Shadowbox is 3 0 3 2 The download will save to a file named something like shadowbox 3 0 3 zip Unzip this file and it will expand into a directory named shadowbox 3 0 3 3 Copy the contents of this directory not the directory itself to your TubePress Pro installation at 18 Chapter 2 User Manuals TubePress Documentation Release lt tubepress_home gt src main web players shadowbox 1lib 4 Optional You may see scrollbars in the Shadowbox js display To fix this simply edit lib shadowbox css On line 8 remove the overflow auto attribute i e change it from sb player html height 100 o0verflow auto to sb player html height 100 Upgrade This page details the official upgrade procedures for TubePress The installation steps are different depending on if you are using TubePress Pro or the free version of TubePress Free Version We strongly recommend using WordPress s built in update mechanism to keep the free version of TubePress up to date If you would rather upgrade manually here is the procedure 1 Deactivate TubePress from WP Admin gt Plugins
104. ubeMostPopular youtubeRelated e Embedded Video Player autoHide fullscreen modestBranding showRelated youtubeClosedCaptions youtubeDisableKeyboardControls youtubePlayerTheme youtubeShowAnnotations youtubeShowPlayerControls e Video Feed developerKey embeddableOnly filter_racy e Video Meta Display rating ratings Gallery Sources General Options playlist e favorites tag e user e youtubeMostPopular e youtubeRelated 98 Chapter 3 Reference TubePress Documentation Release playlist Gallery source playlist Description Videos from a YouTube playlist The playlist is defined by the value you supply to the playlistValue attribute Notes Limited to 200 videos Currently only public playlists can be shown with TubePress Shortcode tubepress mode playlist playlistValue 6813408AE8D50E6F example Standalone PHP TubePressPro getHtmlForShortcode mode playlist example playlistValue 6813408AE8D50E6F YouTube Click here documentation favorites Gallery source favorites Description Favorite videos of a YouTube user The YouTube user is defined by the value you supply to the favoritesValue attribute Notes Limited to 50 videos Shortcode tubepress mode favorites favoritesValue 3hough example Standalone PHP TubePressPro getHtmlForShortcode mode favorites example favoritesValue 3hough YouTube Clic
105. ue option to control the time frame of the results Shortcode tubepress mode youtubeMostPopular example youtubeMostPopularValue all_time Standalone TubePressPro getHtmlForShortcode mode youtubeMostPopular PHP example youtubeMostPopularValue all_time YouTube doc Click here umentation youtubeRelated Gallery source youtubeRelated Description YouTube videos related to a specific YouTube video The target YouTube video is identified by the value supplied to the youtubeRelated Value option Shortcode tubepress mode youtubeRelated example youtubeRelatedValue ZTUVgYoeN_b Standalone TubePressPro getHtmlForShortcode mode youtubeRelated PHP example youtubeRelatedValue ZTUVgYoeN_b YouTube Click here documentation Embedded Video Player 100 Chapter 3 Reference TubePress Documentation Release Embedded Video Player e autoHide e fullscreen e modestBranding e showRelated e youtubeClosedCaptions e youtubeDisableKeyboardControls e youtubePlayerTheme e youtubeShowAnnotations e youtubeShowPlayerControls autoHide Option name Description Provided with Default value Valid values Shortcode example Standalone PHP example YouTube documentation autoHide Automatically fade out elements of the video player af ter a few moments of playback All TubePress distributions fadeOnlyProgressBar fadeBoth Fade both the progress bar and the video controls fade
106. ur htaccess file to smartly redirect users to your preferred domain In Apache you can do this with an htaccess file In IIS you can do this through the administrative console e WordPress users should make sure that both their Site Address and WordPress Address match their preferred domain you can set these atWP Admin gt Settings gt General e If you use TubePress Pro in a PHP environment make sure that the domain you set with TubePressPro setBaseUrl matches your preferred domain Missing tubepress js Any page that uses TubePress needs to have tubepress js loaded somewhere in the document If this file is missing your gallery s thumbnails won t respond to clicks To diagnose if this if your problem you can view your HTML source or use Firebug to verify if this file is being loaded correctly The image below shows what a correct load will look like in Firebug In WordPress this file will be automatically loaded via your theme s wp_head function invocation However some custom themes will accidentally or intentionally omit this call Switching back to the Twenty Thirteen WordPress theme will verify if your custom theme is the culprit Here is some further information on including the wp_head function in your theme Multiple Instances of jQuery This problem is much more prevalent in WordPress based sites where other plugin and theme authors fail to include jQuery the right way Multiple l
107. ution Default value true Valid values true or false Supported Vimeo and YouTube provider s Shortcode tubepress randomize_thumbnails true example Standalone TubePressPro getHtmlForShortcode randomize_thumbnails true PHP example resultsPerPage Option name resultsPerPage Description How many thumbnails to display on each page of a gallery Provided with Any TubePress distribution Default value 20 Valid values Any integer from 1 to 50 Supported provider s Vimeo and YouTube Shortcode example tubepress resultsPerPage 30 Standalone PHP example TubePressPro getHtmlForShortcode resultsPerPage 30 thumbHeight Option name thumbHeight Description The desired height in pixels of video thumbnails Provided with Any TubePress distribution Default value 90 Valid values Any positive integer Supported provider s Vimeo and YouTube Shortcode example tubepress thumbHeight 60 Standalone PHP example TubePressPro getHtmlForShortcode thumbHeight 60 82 Chapter 3 Reference TubePress Documentation Release thumbWidth Option name thumbWidth Description The desired width in pixels of video thumbnails Provided with Any TubePress distribution Default value 120 Valid values Any positive integer Supported provider s Vimeo and YouTube Shortcode example tubepress thumbWidth 150 Standalone PHP example TubePressPro getHtmlForShortcode t
108. will detect and load the new files Advanced Topics On This Page e Boot Cache Enabling Clearing the Cache Detailed Explanation Boot Cache Starting with TubePress 3 1 0 TubePress can take advantage of a boot cache that can dramatically speed up Tube Press In our lab testing we typically see a 300 400 reduction in execution time with the boot cache enabled 42 Chapter 2 User Manuals TubePress Documentation Release Enabling Enabling the cache is easy you ll just need a text editor Here s how to do it 1 Ensure that TubePress debugging is enabled so that you can verify that the cache is working In standalone PHP environments this is enabled by default In WordPress environments ensure the box at WP Admin gt Settings gt TubePress gt Advanced gt Enable Debugging is ticked 2 TubePress s boot process is controlled by a single file located within your TubePress content directory at config boot json In TubePress 3 1 0 this file and the config directory are included by default In older versions of TubePress simply create tubepress content config boot json and fill it with the following contents cache igc c ontainer enabled false r Wadd ons z enabled false r elassloader enabled false A option descriptors enabled false f killer key tubepress_boot_cache_kill dir null a
109. y true Standalone PHP example TubePressPro getHtmlForShortcode lazyPlay true loop Option name Description Provided with Default value Valid values Supported provider s Shortcode example Standalone PHP example loop If enabled immediately restart playback of each video after it finishes All TubePress distributions false true or false Vimeo and YouTube tubepress loop true TubePressPro getHtmlForShortcode loop true playerImplementation Option name Description Provided with Default value Valid values Supported provider s Shortcode example Standalone PHP example playerImplementation provider_based the standard YouTube pl YouTube tubepress playerImp TubePressPro getHtml Defines the brand of the embedded video player All TubePress distributions except TubePress for Wix provider_based Uses the provider s player i e ayer embedplus Plays videos with EmbedPlus longtail Plays videos with JW Player lementation longt Ail lForShortcode pla yerImplement 3 1 Options 85 TubePress Documentation Release playerLocation Option name Description Provided with Default value Valid values playerLocation Defines the location of the embedded video player This allows you to choose the location and effect of how the embedded videos play All TubePress distributions thou
110. ything FAQ amp Troubleshooting e Common Questions When I navigate to a new page the video keeps playing in the background Common Questions When I navigate to a new page the video keeps playing in the background This is a known problem Until Wix com provides us with the technical capability TubePress has no means of detecting and responding to navigation changes The good news is that Wix has indicated that this capability is on the very near horizon You may read more details in this forum thread 2 4 Official TubePress Add Ons 2 4 1 YouTube Black Bars Remover On This Page e Introduction e Manuals TubePress for WordPress Standalone PHP Introduction Most YouTube video thumbnails have horizontal black bars on the top and bottom This TubePress add on completely removes these bars leaving behind a clean and more professional image Note Use of this add on will change the aspect ratio of YouTube thumbnails from 4 3 to 16 9 You will likely want to adjust your settings for thumbHeight and thumbWidth 2 4 Official TubePress Add Ons 57 TubePress Documentation Release Before 2 3 next 4 32 3 10 3 32 2 11 58 Chapter 2 User Manuals After TubePress Documentation Release Manuals TubePress for WordPress 1 Purchase and download this add on from the TubePress Marketplace 2 Unzip the file you downloaded yout ube black bars re

Download Pdf Manuals

image

Related Search

Related Contents

VT-1820_IM.indd 1 10.10.2013 14:15:59  MANUAL PARA ADMINISTRADOR  Beafon SL650 2.4" 78g White  

Copyright © All rights reserved.
Failed to retrieve file