mantisbt:linked_attachments
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| mantisbt:linked_attachments [2007/05/19 17:42] – created vboctor | mantisbt:linked_attachments [2011/11/16 07:39] (current) – The page rendering was broken (maybe since new PHP version on mantisbt.org). Added new line to fix it at end of file. atrol | ||
|---|---|---|---|
| Line 18: | Line 18: | ||
| * embed_api.php also provides a function that takes a URL and generates the necessary HTML. | * embed_api.php also provides a function that takes a URL and generates the necessary HTML. | ||
| * Implement a custom function that calls the function that takes a URL and generates the necessary HTML. | * Implement a custom function that calls the function that takes a URL and generates the necessary HTML. | ||
| + | |||
| + | ===== Storage in the Database ===== | ||
| + | |||
| + | * The URL attachments will be stored in the same tables as the normal files (i.e. mantis_bug_file_table and mantis_project_file_table) | ||
| + | * The file type will be " | ||
| + | * The file name will the link URL. | ||
| + | * diskfile, folder will be empty. | ||
| + | * filesize will be empty. | ||
| + | * The rest of the fields will remain as is. | ||
| ===== YouTube ===== | ===== YouTube ===== | ||
| - | '' | + | <code html>http:// |
| Will be replaced with: | Will be replaced with: | ||
| - | '' | + | <code html> |
| + | <object width=" | ||
| + | | ||
| + | | ||
| + | | ||
| + | </ | ||
| ===== Feedback ===== | ===== Feedback ===== | ||
| - | * Please provide ideas and feedback in this section. | + | * Please provide ideas and feedback in this section. |
| + | * In the example above, how will mantis know the dimensions of the movie URL? In fact, how does it know it's a movie? | ||
mantisbt/linked_attachments.1179610930.txt.gz · Last modified: (external edit)
