• Hi all,

    I would like to insert a flash video player (JW Player or something else) and a flash-based text chat next to it on a full-width page. Any ideas on how can I do this?

    If I simply put the code into it, they will display one below the other.

    What’s the best approach? Make a plugin? Make a widget and somehow inser it into the page? Honestly speaking I’ve never developed a plugin before but I think it’s the way to go if I want to just put [showmyvideo] in a page (like with other plugins) and have it all layered out right? Or am I way too far here?

    Any comments or thoughts will be appreciated!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’ve done this before for a few sites. If you are using anything other than Vimeo or Youtube your best bet is to code up an html file that you can include in the theme.

    Then whenever you need to use the video and the chat you can just call the include directive in your template.

    If however you are doing this on a per page basis then you may consider a more complex template that reads meta tags from the page to determine which video to play if any.

    The plugin route would be a bit much for this. To get an idea look at how your current template determines the post title and id you are logged in as admin or not. You would need to create basically the same logic.

    Thread Starter caracena

    (@caracena)

    All right! Thanks pkenjora,

    I like the html-include idea. Thanks a lot!!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to get a flash player and chat in a page?’ is closed to new replies.