Hi, I was trying to create a custom page, just for videos and was using views, 6.x-3.x

I cannot get any fields of type video to appear and I've followed the install.txt as well as updates, tricks. All caching off etc.

I also did create a views based on type node, but even with the "display full node" on views, I could not get the actual video to display, just the body text form, the title, i.e. the same fields that are standard with other node types.

It looks identical to the preview when creating the video node. No actual video (which I'll assume is a custom field within that node) is displayed.

In just the plain vanilla node type creation (not views), the video is displayed when the save is committed to the database and the video node, by itself displays correctly.

While it could be a view issues, I suspect it's the video module and you are not exposing the additional fields of the node somewhere so views cannot pick them up.

Sorry I can't be more help in the description, I'm assuming there is some sort of "expose fields" or "export fields" type function in your module.

It clearly is there in 5.x versions of this module, so I'm wondering if it's just overlooked.

What I'm trying to do is create a page called "videos" but have those be true nodes, so they can just watch the video on that page or they can click through and have a full bore blog post to comment on that video.

I'd be happy if the two issues of "no video appears in preview" is fixed so I can use the "node" version of the view I created, i.e. the entire node is then displayed (as set) in the view.

But the fields method works too. (if it works ;))

Thanks for looking into this.

CommentFileSizeAuthor
#6 video.zip128.98 KBLegnar

Comments

hypertext200’s picture

Assigned: Unassigned » hypertext200

working on this ...

fabdel’s picture

The same problem here :
create a views based on type node, but even with the "display full node" on views, I could not get the actual video to display, just the body text form, the title, i.e. the same fields that are standard with other node types.

RobertOak’s picture

another clue is from the Install.txt, no video views module pops up to enable. Not in the video module section or the views section, so it's like the entire thing isn't getting recognized registered.

I don't know how yet Drupal recognizes modules to enable/disable, i.e. the entire module 6.x dev, so I can't be much help than this clue yet.

glen201’s picture

Version: 6.x-2.x-dev » 6.x-2.4
Assigned: hypertext200 » glen201
Category: task » bug
Status: Active » Fixed

Views support in Video was, it would seem, never updated to Drupal 6 and Views 2.

I have completed what is a substantial rewrite of the Views support (something made more of a pain by the dearth of documentation on Views 2 and the unwritten API coding guide for porting :( ), and the next release after 6.x-2.4 will have Views 2 support included.

--glen

RobertOak’s picture

Charming on the lack of documentation. Ok, I took your latest Aug 1, 2009 dev snapshot and tried it. I see the new fields and the videoview is present, functioning....

but....the fields on your node, this is the youtube URL, isn't being displayed in the view. It's like views doesn't know it's there and just the regular node body is displayed.

I haven't tried other formats yet (upload, Google, etc.)

I also notice that the youtube URL does not display in the preview plane either, so maybe these are connected.

What I want to do is have a video page where the actual videos are seen, embedded and they won't display until the actual node link is clicked.

The field of youtube URL is also not exposed in views.

Here is my views:

http://www.noslaves.com/video

and I have it on page, node, full body displayed (everything) and you can see it won't show the actual embedded video.

I suspect this has something to do with the preview plane and I'm looking around in your source too so if I find it I'll post (so far I haven't).

I could do the obvious, which is to just embed it in the body...but then when someone clicks on the URL to the node...I have duplicate embedded videos

Thanks. I know you have a thankless job.

Legnar’s picture

StatusFileSize
new128.98 KB

I need de some thing, and i make a hack of this module, i think this help you.
Sorry for my bad english, my natural languge is portuguese.

glen201’s picture

Hi no problem about the language BUT it is BAD practice to post zip files of code. Please post patches only. Please read http://drupal.org/patch/create it will help. It's annoying, I know, but it's how things are done here. (Personally, I usually paste the relevant code that I've changed if it's a small fix).

I can absolutely tell you I will not look at your ZIP because I don't download files from unknown sources, so if you want to contribute your code, don't just throw us a whole module in a zip and have us hunt for your gems of coding greatness. You'll have to make diff patches, or show us the relevant code pasted into code /code blocks, as:

<code>
  ... your code here

Sorry,
--glen

glen201’s picture

@RobertOak

OK, I went to your site, and I see in the video list there is no thumbnail image, that's what you're talking about, right? See, I don't think you want to embed the youtube player for every entry on your video site! That many flash embeds might crash the browser. It's thumbnails that we need -- I wonder if that can be extracted from youtube...

Can you please enable the default view for video/tracker so I can see what it looks like on your site. My guess is it's sans thumbnail. Please suck down the latest video.views_default.inc from the CVS and use that one. Clear the views cache after you copy it over.

FYI, we're going to rework the presentation of the videos into light boxes or something to play in-line, if they're flash (youtube is flash-based so it should work). But we have not begun to code that as of yet.

Youtube URL is definitely not exposed in the view explicitely, but isn't it accessible through the view Download Link?

I admit to having not worked on any of the module on 3rd party sites since becoming a maintainer.

-- glen

RobertOak’s picture

I'm not sure exactly what you mean here because if one pulls in the embedded code from youtube, the actual player and video stream is coming from youtube, not locally hosted.

So, I found this older blog on automatically displaying youtube generated thumbnails, http://www.bernzilla.com/item.php?id=848,

but it seems to require use of the API, which seems like it would be easier to add to your module than for me to manually write or extract.

What I'm trying to do is when the video is hosted, such as youtube, google is to NOT host it locally on my site but simply use the embed tools....

at the same time, I want the ability to create a separate view or node type so people can more easily find videos. So having your video node in this regard works much more easily.

Then, if you noticed our topic area, Professional labor issues are particularly censored so if some corporate yada or whatever removes videos from a site because they are just slightly embarassing....THEN, I will host them locally, which your module enables.

Maybe I'm missing the point of your module, but this is what I'm trying to do and I'm trying to avoid any major CPU tasks on the host, to save server load....and ONLY use them if there isn't much else in options (say youtube censors) but I don't want to host anything that is a copyright/licensing issue, so it's pretty much about censorship for us and that's when I would use the local host...
If I can grab a video, I will just transcode it and upload it to youtube....again to put the server costs onto the mighty Google and not us poor CPU deprived blogs.

None of this explains why the youtube isn't in the preview plane to me.

so are you saying to get these features I should go back to simply using the regular body of the video node, disable all youtube anything and leave the video links blank?

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

junro’s picture

Status: Closed (fixed) » Active

Hello,

I create a views based on youtube video node type, but even with the "display full node" on views, I could not get the actual video to display, just the body text form, the title.

Can't we still display Youtube video in Views??

Thanks :)

iLLin’s picture

Status: Active » Closed (fixed)