close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

How to insert a video to a dynamic content?

Thread began 8/27/2015 7:37 am by anonymous | Last modified 8/31/2015 7:57 pm by Ray Borduin | 913 views | 7 replies |

anonymous

How to insert a video to a dynamic content?

I used PHP MyAdmin to create a database catalog now I want to add a Youtube video to each item but I don't know how because is a dynamic database. So how do I make it know all video come from Youtube and how do I make to configure the register form so when I add a new item it know what video it is? Does is true when I add a new item I only insert the video code, not the entire address? How do I do that? I'm using Dreamweaver CC+PHP.

Sign in to reply to this post

Ray BorduinWebAssist

You would add a column to your database for the youtube link, then use that on the details page to display the video by placing the link inside the youtube embed code that you can get from the youtube examples.

Sign in to reply to this post
Did this help? Tips are appreciated...

anonymous

This is the way to add a video to a static content. What I need to know is how to add a video to a dynamic catalog content. Is complete differents ways.

Sign in to reply to this post

Ray BorduinWebAssist

I guess I don't understand. If you add a column to the database it would be dynamic and not static. Maybe I'm misinterpreting what you mean by dynamic.

I was assuming you meant you were displaying a video on a product catalog details page that shows different products dynamically and each might have its own video. The instructions I gave would cover that scenario.

Sign in to reply to this post
Did this help? Tips are appreciated...

anonymous

I meant more like this https://www.youtube.com/watch?t=595&v=TxIMO_0pIfc but the video inside a dynamic content that could be erased any moment.
The page is like this: there's the index that only have images with their title. All images could be active (showing) or not active (not showing on the index). All images have links to the rest of the information. The link opens on another page. In this page have besides other information, the Youtube video. There's the register new content only for administrator where, acording to my former teacher, you only register only the code of the video, and he also said is not like when you insert images. I didn't understand this video because the guy doesn't did everything step by step and he only used the code. I only know how to use the design mode on dreamweaver, the code is a little confuse (if you don't explainig step by step).

Sign in to reply to this post

Ray BorduinWebAssist

I'm afraid I still don't quite get what you are doing or where you are getting stuck. I think it might be appropriate to use a premier support ticket to look into this together in a screen sharing session so I can get more information and provide better assistance.

Sign in to reply to this post
Did this help? Tips are appreciated...

anonymous

I want to know how to get here: src="http://www.youtube.com/watch?v=<?php echo ($recordsetname->getColumnVal('tablename')); ?>"
or here: <iframe width='$largura' height='$altura' src='http://www.youtube.com/embed/$link' frameborder='0' allowfullscreen></iframe><br>
$desc<hr width='500'>
So when I fill the video form I just have to write the code of the video (the parte after watch?v=)

Sign in to reply to this post

Ray BorduinWebAssist

You just store the dynamic pieces as columns in your database and then refer to them in the code... just like your first example.

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...