The following warnings occurred:
Warning [2] Trying to access array offset on value of type null - Line: 4483 - File: inc/functions.php PHP 8.2.30 (Linux)
File Line Function
/inc/functions.php 4483 errorHandler->error
/inc/class_session.php 451 my_strlen
/inc/class_session.php 356 session->update_session
/inc/class_session.php 75 session->load_guest
/global.php 55 session->init
/showthread.php 22 require_once
Warning [2] Trying to access array offset on value of type null - Line: 1229 - File: inc/functions.php PHP 8.2.30 (Linux)
File Line Function
/inc/functions.php 1229 errorHandler->error
/showthread.php 110 forum_permissions
Warning [2] Trying to access array offset on value of type null - Line: 1229 - File: inc/functions.php PHP 8.2.30 (Linux)
File Line Function
/inc/functions.php 1229 errorHandler->error
/showthread.php 110 forum_permissions
Warning [2] Trying to access array offset on value of type null - Line: 1237 - File: inc/functions.php PHP 8.2.30 (Linux)
File Line Function
/inc/functions.php 1237 errorHandler->error
/inc/functions.php 2325 forum_permissions
/showthread.php 577 build_forum_jump
Warning [2] Undefined array key "threadread" - Line: 1779 - File: inc/functions.php PHP 8.2.30 (Linux)
File Line Function
/inc/functions.php 1779 errorHandler->error
/inc/functions_indicators.php 42 my_set_array_cookie
/showthread.php 585 mark_thread_read
Warning [2] Undefined array key "forumread" - Line: 77 - File: inc/functions_indicators.php PHP 8.2.30 (Linux)
File Line Function
/inc/functions_indicators.php 77 errorHandler->error
/inc/functions_indicators.php 45 fetch_unread_count
/showthread.php 585 mark_thread_read
Warning [2] Undefined array key "forumread" - Line: 1779 - File: inc/functions.php PHP 8.2.30 (Linux)
File Line Function
/inc/functions.php 1779 errorHandler->error
/inc/functions_indicators.php 218 my_set_array_cookie
/inc/functions_indicators.php 48 mark_forum_read
/showthread.php 585 mark_thread_read
Warning [2] Undefined array key "highlight" - Line: 893 - File: showthread.php PHP 8.2.30 (Linux)
File Line Function
/showthread.php 893 errorHandler->error
Warning [2] Undefined array key "warninglevel" - Line: 5 - File: inc/functions_post.php(410) : eval()'d code PHP 8.2.30 (Linux)
File Line Function
/inc/functions_post.php(410) : eval()'d code 5 errorHandler->error
/inc/functions_post.php 410 eval
/showthread.php 994 build_postbit
Warning [2] Undefined array key "goodbyespammer" - Line: 40 - File: inc/functions_post.php(657) : eval()'d code PHP 8.2.30 (Linux)
File Line Function
/inc/functions_post.php(657) : eval()'d code 40 errorHandler->error
/inc/functions_post.php 657 eval
/showthread.php 994 build_postbit
Warning [2] Undefined array key "button_pm" - Line: 57 - File: inc/functions_post.php(657) : eval()'d code PHP 8.2.30 (Linux)
File Line Function
/inc/functions_post.php(657) : eval()'d code 57 errorHandler->error
/inc/functions_post.php 657 eval
/showthread.php 994 build_postbit
Warning [2] Undefined array key "button_multiquote" - Line: 59 - File: inc/functions_post.php(657) : eval()'d code PHP 8.2.30 (Linux)
File Line Function
/inc/functions_post.php(657) : eval()'d code 59 errorHandler->error
/inc/functions_post.php 657 eval
/showthread.php 994 build_postbit
Warning [2] Undefined variable $moderationoptions - Line: 70 - File: showthread.php(1292) : eval()'d code PHP 8.2.30 (Linux)
File Line Function
/showthread.php(1292) : eval()'d code 70 errorHandler->error
/showthread.php 1292 eval





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Inserting Video Into The Featured Panel
08-13-2014, 06:57 PM (This post was last modified: 08-18-2014 08:51 PM by Frank S..)
Post: #1
Inserting Video Into The Featured Panel
Basically this is controlled via Custom Fields panel in your page editor.
If you can't see a custom fields panel just go to the top of your page editor and click the "On Screen Options" tab and then from the drop down menu select "custom field" and that panel will then show up.
Method:
The way to insert video is to create a new custom field and name it "video" (exact spelling all lower case) then to the right in the "Value" field you paste in your Youtube or Vimeo (or whatever) video embed code and click save and now the video will appear in the featured panel. Make sure to change the dimensions in the embed code to 430x320px for a neat fit or if you're using the wider gallery display you can set your video size to 650px X 320px.

If you like to use a WP video embed plugin such as Viper Video Tags or Traffic Player that uses shortcode you can do so. You can also use WP-flowplayer plugin to display any video that you have uploaded to you media gallery. Just take the short_code from your plugin for the video you want to feature and paste it into the "video" Custom Field you created.

IMPORTANT: Make sure you have selected the "featured panel" page template in the page editor.

About Mobile Browser Videos
We actually arrived at a special code path inclusion that we had to implement in order for videos to show on iPhone and Android. Basically where the youtube path normally says "/v=" we have to replace with "/embed/" and that makes it work (well one of the things).

IMPORTANT:
Here's the correct mobile friendly code for the main featured panel videos:
Code:
<iframe width="430" height="320" src="http://www.youtube.com/embed/rWiKt9rbwUw?hl=en&fs=1&autoplay=1&hd=1&controls=0" frameborder="0" allowfullscreen="true"></iframe>
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)