Posts Tagged Flash

On Advertising and Flash-in-the-Pan

There’s two massive teacupstorms out there at the moment about Flash and HTML5. Adobe is trying to sabotage HTML5 goes one wind. Flash is dead long live Canvas (or rather Squirrel cheats on Flash with iPad) goes another. [Please excuse the gratuitous CSSquirrel comic links]

“Whatever” says I. As long as there are people who need to make things go whiz-bang then – authoring tools like Adobe’s Flash – and people that know how to use them will stay in demand.

Today I was hit with a fine example of flash advertising. Not groundbreaking – but well crafed – and aimed at me – web designer-developer who’s been on the lookout for hosting. It points at a pan-european German based web host called Strato. If my trial month with WebFusion doesn’t go well I might give them a go. But so far I’ve got to say I like WebFusion and their support… TBC

, ,

No Comments

Encoding and embedding Flash video (FLV) for the web on a mac

It’s taken quite a few hours of trial and error and things not working – but in the end it’s not too complicated. In essence getting your video onto a webpage is a two part process – encode into FLV format then wrap this FLV in a SWF viewer and embed in your webpage. The first part is best achieved ffmpegX with a helping hand from MPEG Streamclip if your source is a DVD VOB file. The second part requires finding a Flash player – more elusive than I had anticipated – and writing a wee bit of HTML code into your webpage.

Step one: prepare FLV video stream

Use ffmpegX. Its a really great tool but currently falls over with some QuickTime movies when the virtual stack of audio/video is the wrong way round – an “invert mapping issue”. I came across this problem when changing the soundtrack of an existing movie file. The work-around is documented here

What if the source material is on a DVD or a VOB file?

Use the free MPEG Streamclip and, perhaps, Apple’s twenny dollah QuickTime MPEG-2 Playback Component to convert your source into something QuickTime friendly. (Thanks to this Macworld article) The easiest and best quality option being “Convert to MPEG…” from the File menu.

Step two: wrap in a simple SWF movie and embed into your page

for the wrapper go see Jeroen Wijering for his “JW FLV Media Player” . His documantation is good. Then there’s always Free Video Coding for another helping hand to generate the code you’ll need. Beware the one issue I found here was that I couldn’t mix relative and absolute URLs. Example code (with relatve URLs) follows below…

<embed src="video-flvplayer.swf?file=YourMovie.flv&autoStart=true"
width="480" height="360"
quality="high"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer">

Lovely.

[Edit]
Must look into swfobject it’s “easy-to-use and standards-friendly method to embed Flash content”…

, , , , ,

No Comments