HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Embed .flv or mpeg-4 video

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#45903 (In Topic #10035)
Avatar

Well-settled

Sorry I have used the search function to look for info on this subject with no luck…

Is there a tutorial available that explains how to embed either .flv or mpeg-4 video in the ocportal web pages? I would imagine I need to upload some sort of script (or engine) to accommodate the file.

If anyone has any advice on this, it would be greatly appreciated.

Thanks
Back to the top
 
Posted
Rating:
#45904
Avatar

Have you tried just attaching it? It should work.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#45908
Avatar

Well-settled

I'll look more into it tomorrow…have to log off for a while.

I'll experiment with different options and see how it goes. Thanks

Edit to note - looking to have it display inline and playing, if that helps (the few experiments I attempted didn't work but will try a more careful experiment tomorrow or the next)
Back to the top
 
Posted
Rating:
#45909
Avatar

I think you'd need to do a template edit of the right ATTACHMENT_*.tpl template for that.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#45954
Avatar

Well-settled

If you or anyone know of any relevant tutorials that would make that work, keep me in mind. I think that would make an awesome addition to the content of certain pages.

Thanks again.
Back to the top
 
Posted
Rating:
#45956
Avatar

What went wrong in the experiment?

To make it auto-play just edit ATTACHMENT_MEDIA (for mpeg's) and you'll see you can set autoplay to 'true'.

I'm not sure about inline as it seems to be already.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#45981
Avatar

Well-settled

Well…if I set the file format to "yes" (acceptable for inline play) at Admin zone Security, and then use the 'insert image' to place the file on a page (using img tags?) nothing really happens. Any suggestions as to how I should tag a file like this to sit on a page in the same way that still image formats work?

Sorry, I'm terribly noob at all this.

Thanks
Back to the top
 
Posted
Rating:
#45984
Avatar

Attach the file by uploading it when you add the content (attachments feature).

Or you can use the attachment tag on an existing URL (explained in Comcode tutorial).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#52477
Avatar

Well-settled

Thanks for the advice on embedded video. I can get .flv files to auto start, but after it plays once through, it stops.

What would I edit or add to ATTACHMENTS_FLV to make a file loop continuously?

Thanks
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: