Heya! I am trying to make a simple random video block with no formatting, title, or comment line. Just the video, basically.
I tried following instructions on the site to make a random open package video block however... I don't see the field for "OpenPackage Video: Video"
This is what I see:
http://drupal.org/files/issues/op-video-field.png
FYI: under the CCK content module it says OpenPackage Video Field (enabled)... so that is why I'm confused.
Am I supposed to make a custom video field? There already seems to be a custom video content for open
--- Anyway! Can anyone who has made a random video block (using views/CCK/Op Video) EXPORT their view and paste it as code below? Then I can import it, and make it would work! *maybe*
Your help is greatly appreciated! Thanks anyone :)
ps- I can't use other video modules because I'm working on a kid-friendly site and OpenPackage offers a transcoding service without needing to use YouTube, etc. And I can't install FLVMM on my site, it's shared hosting and they said 'no' alas.
Comments
Heather, Did you manage to
Heather,
Did you manage to fix the problem?
Steven
Making a random video block using Bonus Views
0) Install Views Bonus pack module! http://drupal.org/project/views_bonus
1) Make the view (see below)
2) I needed to make a special theme region for the video to get it on my front page. Either edit the template file (for Drupal 5) or edit the .info file in Drupal 6. Maybe you already have a region you want to use.
3) Create the block- use the view name and the theme region. (if you don't know how to make a block, try search or ask me for help)
MAKE THE VIEW
I did get random videos appearing in a view... but I was confused on how to get the video to appear alone. When I tested the view, it kept on showing me a page view, with a list of random videos, the admin menu, etc. I didn't realize how to make the block or set the theme region... so that is why I wrote those steps above. It is essential to get the Bonus pack so you can have the grid view without all the extras!
My view page looks a bit like this:
Block:
[X] Provide Block - If checked this view will be provided as a block. If checked title may not be blank.
View Type: [ Bonus: Grid View] How the nodes should be displayed to the user.
Nodes per Block: [ 1 ]
Fields
[OpenPackage Video: videoupload (field_videoupload)] [Group Multiple values ] [Inline Player]
Arguments:
None:
Node Type:
Is Published
Is one of type: Video
Sort Criteria:
Random
This is the code exported from my site, which makes a view with a list of random videos: