9 Flash, Video & audio X How to add Flash movies into your site X How to add video and audio to your site X HTML5 <video> and <audio> elements Flash is a very popular technology used to add animations, video, and audio to websites. This chapter begins by looking at how to use it in your web pages. We then focus on how to add video and audio to your site, using either the new HTML5 <video> and <audio> elements or a hosted service (such as YouTube or SoundCloud). In this chapter you will learn: ● How to use Flash in your web pages ● How to use HTML5 <video> and <audio> elements ● When to host your own video and audio and when to use a service such as YouTube 201 FLASH, VIDEO & AUDIO FLASH, VIDEO & AUDIO 202 how Flash works Since the late 1990s, Flash has been a very popular tool for creating animations, and later for playing audio and video in websites. Whether you are creating an When you create a Flash file in To view Flash, browsers need animation or a media player in the Flash authoring environment, to use a plugin (an extra piece Flash, the files you put on your it is saved with the .fla file of software that runs in the website are referred to as Flash extension. In order to use this file browser) called the Flash Player. movies. on a web page it has to be saved Statistics commonly indicate in a different format known that 98% of browsers on If you want to create your as SWF. (It has the .swf file desktop computers have the own Flash movie, you need to extension.) Flash plugin installed. (The purchase the Flash authoring percentage of mobiles and environment from Adobe. When you export the movie tablets with it is much less.) into SWF format, Flash creates There are, however, several code that you can use to embed There is not space in this book companies that offer Flash the Flash movie in your page. to teach you how to create Flash animations and slideshows, Traditionally, this code used the movies (there are many books as well as video and audio HTML <object> and <embed> devoted to that one topic), but players that you can use without tags. However, now it is more this chapter will show you how purchasing this tool. common to use JavaScript. to add Flash movies to your site. The Flash authoring environment The .fla file is exported to.swf The .swf file is included in your is used to create Flash Movies. format to use in a web page. web page using JavaScript. 203 FLASH, VIDEO & AUDIO use oF Flash Since 2005, a number of factors have meant that fewer websites are written in Flash or even use elements of Flash in their pages. When Flash was first released, There are several reasons why There have been laws introduced it was developed to create fewer websites are using Flash to ensure that websites are animations. The technology these days, including: usable by those with visual or quickly evolved, however, and physical impairments — and people started to use it to build In 2005-6, a set of JavaScript Flash has been criticized because media players and even entire libraries were launched Flash content does not always websites. (including Prototype, meet accessibility requirements. script.aculo.us, and JQuery) Although Flash is still very which made it easier for people In 2008, browsers started to popular, in recent years people to create animated effects using support HTML5 <video> and have been more selective about JavaScript. <audio> tags. At the time of when they use it (and now rarely writing, Flash is still a popular consider building an entire When Apple launched the way of playing video and audio website in Flash). iPhone in 2007 and later the on the web but more and more the iPad in 2010, they took the people are switching to HTML5. Despite this, Flash does have a decision not to support Flash. future on the web because there (You will see how to use these are some things it does very well, elements later in the chapter.) such as creating animations. FLASH, VIDEO & AUDIO 204 Timeline: Flash, Video & audio Web technologies change quickly. Here you can see some of the changes in how animation, video, and audio are created on the web. 1995 1996 1997 1998 1999 2000 2001 2002 2003 FutureSplash, forerunner to Flash AnimAtion RealAudio streaming audio Flash 4 streaming audio Audio RealVideo streaming video RealVideo 8 streaming video Flash MX Flash video Video On this page you can see the On the facing page, you can see first major players to provide some of the technologies and web animation, audio, and video. events replacing them. 205 FLASH, VIDEO & AUDIO Video sharing sites offer alternatives to self-hosting Vimeo launched YouTube launched YouTube releases iPhone app Vimeo releases HTML5 player YouTube releases HTML5 player Vimeo releases iPhone app 2004 2005 2006 2007 2008 2009 2010 2011 Internet Explorer 9 Opera 9 .62 Firefox 3.5 Chrome 3 Safari 3.1 BrowSerS introduce HTML5 <video> and <audio> tags iPad iPhone Apple releases devices that don't support Flash jQuery script.aculo.us Prototype JAVAScript libraries are written to create animated effects FLASH, VIDEO & AUDIO 206 adding a Flash moVie To Your web Page The most popular way of HTML adding Flash into a web page chapter-09/adding-a-flash-movie.html is using JavaScript. There are <!DOCTYPE html> several scripts that allow you <html> to do this without an in-depth <head> understanding of the JavaScript <title>Adding a Flash Movie</title> language. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/ The script we will be looking at swfobject/2.2/swfobject.js"></script> here is called SWFObject. You <script type="text/javascript"> can obtain a copy of it for free swfobject.embedSWF("flash/bird.swf", from Google, and you can see "bird", "400", "300", "8.0.0");</script> how we use it on the next page. </head> <body> One advantage to using this <div id="bird"><p>An animation of a bird taking technique is that it allows a shower</p></div> browsers to show alternative </body> content for users whose </html> browsers are not capable of showing Flash. This technique uses a <div> The SWFObject script will check If you use a text description as element to create a space where to see if the user's browser can alternative content, then you can the Flash movie should sit. play the Flash movie. If it can, the achieve two further benefits: The <div> element has an id script will replace the content of attribute whose value is used the <div> with the .swf file. 1. The text can be accessed by by the SWFObject script. In this those with visual and/or physical example, the value of the id For users who cannot see the impairments who are not able to attribute is bird. Flash movie, you could show a interact with the Flash file. still from the movie instead. You Inside the <div> element you might also like to consider using 2. The text can be indexed by can place the alternative content a text description of the Flash search engines (which are not as for users who are not able to file. effective at indexing SWF files), play Flash. increasing the chance that your content will be found. 207 FLASH, VIDEO & AUDIO arTicle In this example, the SWFObject RESULT script is hosted on Google's servers. We include the script in this web page using the first of the two <script> elements. The type attribute is used on the <script> element to indicate that the script inside is written in JavaScript. The src attribute tells the browser where to find the script. The second <script> element is used to tell the browser about the Flash movie, as well as which element it should replace. This element is actually telling the SWFObject script five pieces of information, which are in the brackets: 1. The location of the .swf file: flash/bird.swf 2. The element that the Flash movie should replace, specified by the value of the id attribute on the <div> element: bird 3. The width of the Flash movie: 400 px 4. The height of the Flash movie: 300 px 5. The minimum version of the Flash player needed to view the movie: Flash Player 8 FLASH, VIDEO & AUDIO 208 undersTanding Video FormaTs and PlaYers To add video to your site, there are two key issues to understand: file formats and video players/plugins. FormaTs PlaYers / Plugins Approach Movies are available in many Browsers were initially designed The easiest way to add video formats (BluRay, DVD, VHS, to show text and images only. to your site is to use a hosted to name a few). Online, there For this reason, browsers built service such as YouTube or are even more video formats prior to 2010 generally required Vimeo. (including AVI, Flash Video, another program called a player H264, MPEG, Ogg Theora, or plugin to to be installed in However, there are some cases QuickTime, WebM, and order to play video content. where using these services is Windows Media). not appropriate (as you will see These players and plugins only on the next page) and you will Just as your DVD player won't supported certain video formats. want to host the video on your play a VHS cassette, browsers own site. differ in what video formats they Recently browsers have evolved do and don't support.
Advances in the Application of Information and Communication Technologies in Healthcare at the Patient's Home
Advances in the application of information and communication technologies in healthcare at the patient's home Valentina Isetta Aquesta tesi doctoral està subjecta a la llicència Reconeixement- CompartIgual 3.0. Espanya de Creative Commons. Esta tesis doctoral está sujeta a la licencia Reconocimiento - CompartirIgual 3.0. España de Creative Commons. This doctoral thesis is licensed under the Creative Commons Attribution-ShareAlike 3.0. Spain License. ADVANCES IN THE APPLICATION OF INFORMATION AND COMMUNICATION TECHNOLOGIES IN HEALTH CARE AT THE PATIENT'S HOME Memòria presentada per Valentina Isetta per optar al títol de Doctora Director de la tesi: Dr. Ramon Farré Ventura Unitat de Biofísica i Bioenginyeria Facultat de Medicina Universitat de Barcelona If you put your mind to it, you can accomplish anything. Marty McFly, “Back to the future”, 1985 ACKNOWLEDGMENTS I would like to thank all the people that supported me in these intense years of work. First of all, my gratitude goes to Prof. Ramon Farré, for his solid trust since my early beginning in Barcelona and for seeing in me a researcher that I never imagined I could be. Many thanks to Dr. Josep M. Montserrat, for his irreplaceable mentoring in the clinical world and for his advice and affection. Thanks also to all his medical and nursing staff of the Sleep Lab of the Hospital Clinic of Barcelona, where I have learned a lot and I have felt as another team member. A special thank to Carmen Lopez, for her affectionate help and splendid work to create “Petits a casa”. Without her tenacity and the collaboration of all nursing and medical staff of the Hospital de Sant Pau Neonatology department this successful service to the community would not exist.
Dynamic Web Pages With The Embedded Web Server The Digi-Geek’s AJAX Workbook (NET+OS, XML, & JavaScript) Version 1.0 5/4/2011 Page 1 Copyright Digi International, 2011 Table of Contents Chapter 1 - How to Use this Guide ............................................................................................................... 5 Prerequisites – If You Can Ping, You Can Use This Thing! ..................................................................... 5 Getting Help with TCP/IP and Wi-Fi Setup ............................................................................................ 5 The Study Guide or the Short Cut? ....................................................................................................... 5 C Code ................................................................................................................................................... 6 HTML Code ............................................................................................................................................ 6 XML File ................................................................................................................................................. 6 Provide us with Your Feedback ............................................................................................................. 6 Chapter 2 - The Server-Client Relationship ................................................................................................... 7 Example – An Analogy for a Normal HTML page .................................................................................
Modern Javascript: Develop and Design Larry Ullman
TEMPORAry SPINE WIDTH: 0.000” Designer-Developers are hot commodities today. But how do you build your development chops fast enough to join their ranks? With Peachpit’s Develop and Design series for visual learners. Modern Modern JavaScript DEVELOP AND DESIGN Modern JavaScript JavaScript IT’S TIME FOR A CURRENT, DEFINITIVE JAVASCRIPT BOOK, “A breath of fresh air in the over-complicated and in this comprehensive beginner’s guide, bestselling author world of JavaScript books. This is one I’ll keep DEVELOP AND DESIGN close by!” Larry Ullman teaches the language as it is implemented today. Jay Blanchard Larry demonstrates how to build upon JavaScript’s ease of use, Web developer and consultant and author of while demystifying its often-cryptic syntax, especially for those Applied jQuery: Develop and Design who have not programmed before. This book enforces modern JavaScript’s best practices and embraces key Web development THIS BOOK INCLUDES: approaches such as progressive enhancement and unobtrusive J Easy step-by-step instruction, ample scripting. The author demonstrates loads of real-world code illustrations, and clear examples DEVELOP and makes it freely available for download. J Real-world techniques to build your You’ll learn about JavaScript itself and the relationship between skills JavaScript and HTML. Next you’ll explore variables, common J Insight into best practices from a operators, and control structures. Then you’ll create functions, veteran Web expert AND handle events, and do more with HTML forms. You’ll master J Emphasis on strategies for creating Ajax, work with frameworks, and use JavaScript with PHP to reliable code that will work on all of create a complete example.
Download Media Player Codec Pack Version 4.1 Media Player Codec Pack
download media player codec pack version 4.1 Media Player Codec Pack. Description: In Microsoft Windows 10 it is not possible to set all file associations using an installer. Microsoft chose to block changes of file associations with the introduction of their Zune players. Third party codecs are also blocked in some instances, preventing some files from playing in the Zune players. A simple workaround for this problem is to switch playback of video and music files to Windows Media Player manually. In start menu click on the "Settings". In the "Windows Settings" window click on "System". On the "System" pane click on "Default apps". On the "Choose default applications" pane click on "Films & TV" under "Video Player". On the "Choose an application" pop up menu click on "Windows Media Player" to set Windows Media Player as the default player for video files. Footnote: The same method can be used to apply file associations for music, by simply clicking on "Groove Music" under "Media Player" instead of changing Video Player in step 4. Media Player Codec Pack Plus. Codec's Explained: A codec is a piece of software on either a device or computer capable of encoding and/or decoding video and/or audio data from files, streams and broadcasts. The word Codec is a portmanteau of ' co mpressor- dec ompressor' Compression types that you will be able to play include: x264 | x265 | h.265 | HEVC | 10bit x265 | 10bit x264 | AVCHD | AVC DivX | XviD | MP4 | MPEG4 | MPEG2 and many more. File types you will be able to play include: .bdmv | .evo | .hevc | .mkv | .avi | .flv | .webm | .mp4 | .m4v | .m4a | .ts | .ogm .ac3 | .dts | .alac | .flac | .ape | .aac | .ogg | .ofr | .mpc | .3gp and many more.
Development of Multimedia WebApp on Tizen Platform 1. HTML Multimedia 2. Multimedia Playing with HTML5 Tags (1) HTML5 Video (2) HTML5 Audio (3) HTML Pulg-ins (4) HTML YouTube (5) Accessing Media Streams and Playing (6) Multimedia Contents Mgmt (7) Capturing Images 3. Multimedia Processing Web Device API Multimedia WepApp on Tizen - 1 - 1. HTML Multimedia • What is Multimedia ? − Multimedia comes in many different formats. It can be almost anything you can hear or see. − Examples : Pictures, music, sound, videos, records, films, animations, and more. − Web pages often contain multimedia elements of different types and formats. • Multimedia Formats − Multimedia elements (like sounds or videos) are stored in media files. − The most common way to discover the type of a file, is to look at the file extension. ⇔ When a browser sees the file extension .htm or .html, it will treat the file as an HTML file. ⇔ The .xml extension indicates an XML file, and the .css extension indicates a style sheet file. ⇔ Pictures are recognized by extensions like .gif, .png and .jpg. − Multimedia files also have their own formats and different extensions like: .swf, .wav, .mp3, .mp4, .mpg, .wmv, and .avi. Multimedia WepApp on Tizen - 2 - 2. Multimedia Playing with HTML5 Tags (1) HTML5 Video • Some of the popular video container formats include the following: Audio Video Interleave (.avi) Flash Video (.flv) MPEG 4 (.mp4) Matroska (.mkv) Ogg (.ogv) • Browser Support Multimedia WepApp on Tizen - 3 - • Common Video Format Format File Description .mpg MPEG. Developed by the Moving Pictures Expert Group. The first popular video format on the MPEG .mpeg web.
Attacking AJAX Web Applications Vulns 2.0 for Web 2.0
Attacking AJAX Web Applications Vulns 2.0 for Web 2.0 Alex Stamos Zane Lackey alex@isecpartners.com zane@isecpartners.com Blackhat Japan October 5, 2006 Information Security Partners, LLC iSECPartners.com Information Security Partners, LLC www.isecpartners.com Agenda • Introduction – Who are we? – Why care about AJAX? • How does AJAX change Web Attacks? • AJAX Background and Technologies • Attacks Against AJAX – Discovery and Method Manipulation – XSS – Cross-Site Request Forgery • Security of Popular Frameworks – Microsoft ATLAS – Google GWT –Java DWR • Q&A 2 Information Security Partners, LLC www.isecpartners.com Introduction • Who are we? – Consultants for iSEC Partners – Application security consultants and researchers – Based in San Francisco • Why listen to this talk? – New technologies are making web app security much more complicated • This is obvious to anybody who reads the paper – MySpace – Yahoo – Worming of XSS – Our Goals for what you should walk away with: • Basic understanding of AJAX and different AJAX technologies • Knowledge of how AJAX changes web attacks • In-depth knowledge on XSS and XSRF in AJAX • An opinion on whether you can trust your AJAX framework to “take care of security” 3 Information Security Partners, LLC www.isecpartners.com Shameless Plug Slide • Special Thanks to: – Scott Stender, Jesse Burns, and Brad Hill of iSEC Partners – Amit Klein and Jeremiah Grossman for doing great work in this area – Rich Cannings at Google • Books by iSECer Himanshu Dwivedi – Securing Storage – Hackers’ Challenge 3 • We are
An Investigation Into World Wide Web Publishing with the Hypertext Markup Language Eric Joseph Cohen
Rochester Institute of Technology RIT Scholar Works Theses Thesis/Dissertation Collections 11-1-1995 An Investigation into world wide web publishing with the hypertext markup language Eric Joseph Cohen Follow this and additional works at: http://scholarworks.rit.edu/theses Recommended Citation Cohen, Eric Joseph, "An Investigation into world wide web publishing with the hypertext markup language" (1995). Thesis. Rochester Institute of Technology. Accessed from This Thesis is brought to you for free and open access by the Thesis/Dissertation Collections at RIT Scholar Works. It has been accepted for inclusion in Theses by an authorized administrator of RIT Scholar Works. For more information, please contact ritscholarworks@rit.edu. An Investigation into World Wide Web Publishing with the Hypertext Markup Language by Eric Joseph Cohen A thesis submitted in partial fulfillment of the requirements for the degree of Master of Science in the School of Printing Management and Sciences in the College of Imaging Arts and Sciences of the Rochester Institute of Technology November 1995 Thesis Advisor: Professor Frank Romano School of Printing Management and Sciences Rochester Institute of Technology Rochester, New York Certificate of Approval Master1s Thesis This is to certify that the Master's Thesis of Eric joseph Cohen With a major in Graphic Arts Publishing has been approved by the Thesis Committee as satisfactory for the thesis requirement for the Master of Science degree at the convocation of November 1995 Thesis Committee: Frank Romano Thesis Advisor Marie Freckleton Graduate Program Coordinator C. Harold Goffin Director or Designate Title of Thesis: An Investigation into World Wide Web Publishing with the Hypertext Markup Language September 12, 1995 I, Eric Joseph Cohen, hereby grant permission to the Wallace Memorial Library of RIT to reproduce my thesis in whole or in part.