Php :: Tracking Flash Videos Without Using Javascript?
Apr 2, 2011
There are cases where shipping javascript code with your flash video is not an option. One of these cases is when you've bought space on a website to place your ad banner. In those cases I want to use the 1x1 pixel image tracking method on Google Analytics or Yahoo Web Analytics to track the amount of views on my banner.I have heard that flash blocks any attempt to load data from a third party host (frankly I don't see why they would do that) which presents a problem. I would love a solution.I can picture several methods and their downsides.I could host the banner on my own server, counting the downloads. Unfortunately this would prove to be a tremendous load on my server when possibly millions of downloads would happen per day.
I could write a PHP script, hosting it on my own server, that when requested tracks a page view in GA or YWA. I could place a crossdomain.xml file on my server allowing the flash banner to request my script using a Loader. Unfortunately, the problem of server load still exists as my private server probably can't handle millions of requests per day.Possible solutions are other tracking hosts that allow for flash cross domain file requests, or perhaps a method I haven't thought of.The challenge here is to be able to track the number of views on a flash video without using any javascript. The problem is the sheer amount of load this would put on my own servers if I were to track using my server as a proxy. The best solution would be a tracking service using crossdomain.xml
View 1 Replies
Similar Posts:
Apr 4, 2010
i have this javascript tracking-code I need to place in our flash-banner in order for our third-party tracking company to track clicks and that sort of stuff, but I'm not sure how I need to place it in our flash-banner. I thought I coudl simply place this javascript into a top layer or the like, but seems I cannot directly include it like that inside Flash. Then I thought perhhaps I could simply save the javascript file as .js file and call it from within the Flash file, but not sure how to go about it...
Here below is the javascript in question:
Code:
<!-- START::ib-ibi.com View Tag; DO NOT MODIFY TAG-->
<script type="text/javascript">
var _ibHost = "https://";
[code]....
View 2 Replies
Feb 17, 2011
What's the correct way to track mouse position, from Adobe Flash, when someone has: Started a drag within the Flash application (a MOUSE_DOWN event), Dragged the mouse outside the app or even the browser window (a MOUSE_MOVE event), and Released the mouse button (a MOUSE_UP event)? For example (imagine Stack Overflow is a Flash application):
Within the app, I'm able to track the mouse X and Y positions with a MOUSE_MOVE event listener, but I lose it when it goes outside of the browser... So, how do I track the position of the mouse no matter where it goes? For a good example, try Google Finance. Try dragging the chart around; it'll still drag around if you move your mouse out of the browser window, and the mouse will be outside of the browser when you release it.
Also, check out KOKO KAKA; If you click on the scrollbar (make the browser window really small) and move outside of the browser window, the scroll bar moves just like a real one would. I believe both only work because the MOUSE_DOWN event "captures" the mouse, allowing the Flash application to track the position of the mouse even when it is outside of the browser.
View 2 Replies
Dec 4, 2011
How to implement advanced video player (javascript/jquery/flash) for youtube videos that supports playlists? Is there some good open source script for this, that I could modify.
View 2 Replies
Jan 3, 2012
I have a single page site that has a flash interface and a html nav bar that changes content on the site without a page reload. The problem is the client wants to see the click paths users are going though to access content ( using html nav bar or flash ui to get there ). I know I can use the externalInterface in flash to callback to javascript on click events but there seems to be no custom way to trigger building a click path.
Basically on a page that doesn't have per-page content I want to track the path users are navigating the site ( not per-click tracking but full on path tracking ) through. Is this possible through custom events of some sort or just not possible?
View 1 Replies
Apr 5, 2011
I want to create a custom video player to modify the skin of the play controls etc but still host the videos on youtube.The youtube api allows for minor colour adjustments but not full customisation. I know it would be possible if I download the FLVs but i want the video to remain hosted on youtube.
View 3 Replies
Aug 4, 2010
Can I embed "GA Tracking Code: <script type="text/javascript"> " in a Flash file and if so how? Edit BoogieloveLevel 1 2:47 PMCan I embed "GA Tracking Code: <script type="text/javascript"> " in a Flash file and if so how?
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-371262-1']);
_gaq.push(['_trackPageview']);
[code]....
View 5 Replies
Oct 1, 2010
YouTube achieved quite a feat when they made youtube videos work with cache. However, this is causing a problem on my ajax site and would like to know if there is a way to disable youtube videos being cached. Especially in Internet Explorer.
I cannot disable caching for the whole page as I need caching to work for images and other content for speed reasons.
View 2 Replies
Mar 23, 2012
I would like to show a video on a website made of a dynamic list of smaller videos.For instance, the video would consist of 10 smaller videos (1, 2, 3, 4...), and each of them could be different (1A, 1B, 1C, 1D... 2A, 2B, 2C... 3A). So the result would be 1C-2B-3F-4A...As you imagine, pregenerating all possible combinations would involve creating thousands of them so the idea is keeping it dynamic.It is important that there are no gaps between them so they feel as one.Options I'm considering:
- Preloaded movies on Flash (AS3)
- Preloaded video elements on HTML5 (and some JS)
- Using Youtube's API (to use their bandwidth)
- Any of the above with some speed-aware caching
View 1 Replies
May 23, 2011
I currently have a onClick event that resets my videos, but this 'reloads' them, is there a way to pause them or stop them without resetting them? <a href="#" onClick='resetVideo("vid1");resetVideo("vid3");return false;'> I currently have this event firing on a navigation button, but it fires every time its clicked (obviously), I really only want to stop a video if its playing - is that possible?
[Code]...
View 1 Replies
Nov 17, 2011
I've discovered that you can disable annotations on embedded YouTube videos by adding the parameter &iv_load_policy=3 to the url in the embed code.
Example:
<object width="425" height="344">
<param name="movie" value="http://www.youtube.com/v/PMnEvKCtHBw&hl=en&fs=1&iv_load_policy=3"></param>
[Code]....
Is there any way to force this parameter on all YouTube embed urls on a webpage using javascript/jQuery?
(Sort of like this example where you force wmode transparent on all flash objects)
View 1 Replies
Feb 22, 2011
I want to have 2 different youtube videos (instantiated using the js api) on a page and I want to route the sound from one of them to the regular speakers and the sound from the other one to the headphones.
View 1 Replies
Jan 2, 2011
I am looking for the abilities that Youtube's Chromeless player has to offer but for non-Youtube hosted videos such as Metacafe, Vimeo, Viddler, etc. Abilities I will need are :
[Code]....
Can I use Chromeless player for videos hosted on other sites besides Youtube? If not, is there a solution out there? If not, what languages/APIs would I need use and know to create such an application?
View 2 Replies
Feb 18, 2012
I had problems covering videos on Youtube itself but solved that with a design change (don't need to cover them any more).
So I have a script the user can run and it calls a javascript file to do other stuff on the current webpage. One thing it does is bring up a lightbox that covers the page. Of course it won't cover embedded Youtube videos and so I need to do a few changes. I did the necessary changes and it didn't work. I kept trying and trying and eventually made a page with just an embedded video and a .jpg (my script won't run if there are no images).
I looked to see what the Pinterest script added to the embedded video portion and while it was almost identical they did have an autoplay=0 in there so I added it just so I could see for myself that it is exactly the same. If I run the Pinterest script and close it, then run mine, mine works fine. If I run mine, then the Pinterest script, then mine again, mine works. So I believe this means I'm not adding anything that tells the page "Go ahead and put the video on top anyway."
My portion of the script that adds the wmode:
var players = document.getElementsByTagName('embed');
var len = players.length;
for(var i=0;i<len;i++){
[Code]....
View 1 Replies
Apr 12, 2011
does flash have a way of tracking down every where that an mc is being used?
in my library I have an mc that says it is being used 3 times ... but I can only find two of them ... the mc has a sound in it that i need to get rid of.
View 2 Replies
Nov 19, 2009
Got a question from a fellow designer about the use of Tracking Pixels in Flash. Does anyone use tracking pixels in their Flash creatives? If so, how/where do you embed them?
View 2 Replies
Nov 1, 2011
Is there a way to create videos in a playlist that i can limit the views to 10 videos per user?
View 1 Replies
Feb 15, 2011
I'm making a Flash piece consisting of a few different pages and clicks to take you to different chapters. The company I'm making it for have sent me URL's of pages that will track the person on it - what page they're on, what chapters they view etc.
So, where do I put these url's?If I put them in a getURL won't that just redirect the person away from the page with the SWF in it?
View 5 Replies
Mar 11, 2010
I have a bunch an as3 game going. In my game when newCrag hits egg_mc the score gets added.
[Code]....
View 1 Replies
Dec 23, 2010
I have this flash application that opens a socket connection with a server. What I need to do is to read packets sent and received byt he application to write a sort of "history" ( in WIndows). Now, questions are: How is the simplest way to do it? Application hooking? Load the flash application in my application and take control over it? No packet sniffing allowed. Is it possible to do it in C++, or you think it's better to use another programming language? My first choice was java, but it seems that do it is troublesome...
View 2 Replies
May 19, 2011
I've got an AS2 flash movie that I need to add Google Analytics tracking into. The only classes I can find are for AS3, do you know of any class method to track in AS2?
View 1 Replies
Dec 29, 2006
I want to record to a XML document everytime a user loads a .swf. Simply just increase the number in the XML document by 1. The issue tho is i'm limited to the server side scripting thats available. No asp, no php, only JSP. Client side scripting(javascript,etc) would be perfectly acceptable as well.Is actionscript capable of writing to a xml file and producing the results i'm aiming for?
View 9 Replies
Apr 28, 2009
how to update this action script from flash 6 to flash 7.Its for a scrolling line of pictures.
mouseh = getProperty("/tracker", _x);
mousev = getProperty("/tracker", _y);
if (Number(mousev)>0 and Number(mousev)<552) {[code]..............
View 1 Replies
Aug 7, 2010
Tracking software requires that you insert their code into the page you want to track (I'm using StatCounter). I installed a Flash website template and it just has one .html file where I can insert the code. That tracks visits to the first page with no problem but if a visitor clicks on different pages of the site, it doesn't get tracked. Does anyone know how and where to add code so that each page of the Flash site can be tracked?
Note, in my template a part of each page is found in different symbols. For example, the first column of every page is located in a symbol called PAGES1 and the second column of every page is located in a symbol called PAGES2, and the third column located in PAGES3. Different layers within each symbol correspond to the different pages. So I'm at a loss of how I could get this tracking code to be able to track each page visit, since each page shares a symbol with another page.
View 1 Replies
Jun 1, 2011
I am looking for code, examples, library, components for using google analytics event tracking with my Actionscript 2 Flash movies. I can find info about AS3 on the google code site but not AS2. What is the best resource for tutorials and examples about tagging my Flash files to use the asynch google analytics code. I have found some old information about the old google analytics code.
View 2 Replies
Mar 26, 2012
I have been tasked with tracking user interactions with a flash movie that contains several chapters. I need to track which chapters the user decides to watch. But I have no access to the flash movie itself and I can not modify it. The movie loads in a modal. I do have access to the HTML page from which the modal is spawned. This is a screenshot of the interface. There are 6 chapters. Users can select the chapters they want to watch. They can then click Play Your Demo. Alternatively there's a Play All button. I would like to track which chapters users select. This can be easily done with flash, but this is not an option. I hope I can use jQuery on the page to monitor user clicks. I am inclined to say this is not possible though, since JS can not track events/interactions with the flash movie, but I could be wrong.
View 2 Replies
Feb 3, 2012
Is it possible to track how many people visited my flash website made in AS2. If so what is the method and how can I implement it?
View 1 Replies
Jun 10, 2009
I've got a button in flash that is working just fine. I want to add a tracking function from Google Analytics. The action script on my button is: getStarted_btn.addEventListener(MouseEvent.CLICK, myCanvas);
function myCanvas(e:MouseEvent):void{ navigateToURL(new URLRequest("http://memorialbooks.mycanvas.com/Index.aspx?partnerId=6"),"_blank");}
I have a line of script for that as:
on (release)(getURL("javascript:pageTracker._trackPageview('/caring_cent er/myCanvas_flash.html');"));
I just don't know how to incorporate both. When I add this into it, the buttons don't work any more. how to write the code so that the buttons and tracking both work?
View 2 Replies
Jan 26, 2010
Im completely new to Flash and ActionScript2 but what I need is to add Google analytics code to track clicks from "button" Bellow is a part of my function
[Code]...
View 2 Replies
Jul 13, 2010
I am wondering if there's any way I can track objects in Flash video using ActionScript? For example, let's say I would like to track a red ball, how can I do this? I have seen some examples using the OpenCV port but the examples shown are for face detection. And I can't seem to figure out what's the difference between the OpenCV port and the actual OpenCV library itself. Is it a full port?
View 1 Replies