Video I call out in /body and /head is playing on every page
I have almost no experience when it comes to coldfusion however I am trying to add a video to a clients site. The clients site is http://www.pcalic.com/ I'm adding this to the Index.cfm however the issue is when I click on the links to get to the other pages, the videos also play on that page. I really only want the videos to play on the home page. Is there something I can write to prevent the other pages from grabbing that?
I'm calling out 2 things one is the video script which I place above the </body> tag.
The other is video player and the java script call out which i put above the </head> tag
any help would be appciated thanks!!!!
here is the source code. THANKS so much!!!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<cfoutput>
<meta http-equiv="description" content="#page.pgs_description#" />
<meta http-equiv="keywords" content="#page.pgs_keywords#" />
<title>#page.pgs_title#</title>
<link type="text/css" rel="stylesheet" href="#request.sitePath#style/reset.css" />
<link type="text/css" rel="stylesheet" href="#request.sitePath#style/pcaliccom.css" />
</cfoutput>
<script src="http://www.snap2video.com/ext/flvplayer/jquery-1.4.2.min.js"></script><script src="http://www.snap2video.com/ext/flvplayer/donscroll.js"></script>
</head>
<body>
<cfoutput><img id="logo" src="#request.sitePath#images/framework/pcalic.png" width="751" height="276"/></cfoutput>
<div id="logoText">Personal Care & Assisted Living Insurance Center, LLC</div>
<div id="searchBar">
<div class="left"></div>
<div class="right"></div>
<div class="mid">
<cfform name="searchForm" id="searchForm" action="#request.sitePath##devLink#search">
SEARCH
<cfinput type="text" name="searchTerm" id="searchTerm" />
<cfinput type="image" src="#request.sitePath#images/framework/searchbar-arrow.jpg" alt="Search" id="searchArrow" name="submit">
</cfform>
<cfoutput>
<a href="http://twitter.com/BrianBarrick" target="_blank"><img class="social16px" src="#request.sitePath#images/framework/searchbar-twitter.jpg" alt="PCALIC's Twitter" width="16" height="16" /></a>
<a href="http://www.facebook.com/pages/PCALIC-LLC/98891296431" target="_blank"><img class="social16px" src="#request.sitePath#images/framework/searchbar-facebook.jpg" alt="PCALIC's Facebook" width="16" height="16" /></a>
<a href="http://www.brianbarrick.wordpress.com" target="_blank"><img class="social16px" src="#request.sitePath#images/framework/searchbar-wordpress.jpg" alt="PCALIC's WordPress Blog" width="16" height="16" /></a>
<a href="http://arcguardian.protectyoubetter.org/" target="_blank"><img class="social16px" src="#request.sitePath#images/framework/searchbar-protect.jpg" alt="Protect You Better" width="16" height="16" /></a>
</cfoutput>
</div>
</div>
<cfoutput>#basicfunctions.fncGetNavigation(1,'mainNav',page.pgs_id,request.sitemode)#</cfo utput>
<div id="navBar">
<div class="left"></div>
<div class="right"></div>
<div class="mid"></div>
</div>
<div id="mainContent">
<div id="colLeft">
<div id="mainTop"></div>
<div id="mainMid">
<cfinclude template="#page.pgs_file#">
<div style="clear:both;"></div>
</div>
<div id="mainBottom"></div>
</div>
<div id="colRight">
<cfinclude template="rightCol/members.cfm">
<cfinclude template="rightCol/social.cfm">
<cfinclude template="rightCol/quote1.cfm">
</div>
<div id="footer">
<cfinclude template="footer.cfm">
</div>
</div>
<div id="headerForm">
<h2>FREE REPORT</h2>
<!--Client Supplied code-->
<div class='moonray_forms'>
<form action="http://moonraymarketing.com/form_processor.php?" id="moonray_forms_163" method="post">
<input type="hidden" name="uid" value="p2c1027f5" />
<input type="hidden" name="smartform" value="1" />
<input type="hidden" id="afft_163" name="afft_" value="" />
<input type="hidden" id="sess_163" name="sess_" value="" />
<input type="hidden" id="ref_163" name="ref_" value="" />
<input type="hidden" id="own_163" name="own_" value="" />
<input type="hidden" name="contact_id" id="contact_id_163" value="" />
<!-- EDITABLE PARTS BELOW -->
<fieldset>
<label class="mooray_fieldname" for="firstname" style="font-weight:normal; width:100px; display:inline-block; color:#FFFFFF; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px;">First Name<span class="moonray_required">*</span></label><br/>
<input type="text" name="firstname" value='' class="moonray_input" style="width:150px; margin:2px 0; height:15px; font-family:Arial, Helvetica, sans-serif; font-size:12px;"/><br>
<label class="mooray_fieldname" for="lastname" style="font-weight:normal; width:100px; display:inline-block; color:#FFFFFF; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px;">Last Name</label><br/>
<input type="text" name="lastname" value='' class="moonray_input" style="width:150px; margin:2px 0; height:15px; font-family:Arial, Helvetica, sans-serif; font-size:12px;"/><br>
<label class="mooray_fieldname" for="email" style="font-weight:normal; width:100px; display:inline-block; color:#FFFFFF; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px;">E-Mail<span class="moonray_required">*</span></label><br/>
<input type="text" name="email" value='' class="moonray_input" style="width:150px; margin:2px 0 7px 0; height:15px; font-family:Arial, Helvetica, sans-serif; font-size:12px;"/><br>
</fieldset>
<!--<input class="moonray_btn" type="submit" value="Get Report Now!">-->
<span class="buttonRed"><span><input class="moonray_btn blankButton" type="submit" value="SEND ME MY REPORT" /></span></span>
<!-- EDITABLE ENDS (DO NOT EDIT CONTENTS BELOW)-->
</form>
</div>
<script type="text/javascript">
/*<![CDATA[*/
(function(){
var onload=function(event){
protocol="http:";
if(window.location.protocol=="https:"){protocol="https:";}
var onscriptLoad=function(){
moonrayJS.form.validate(document.getElementById("moonray_forms_163"),{firstname:{required :true},email:{required:true,email:true}},false);
if (typeof _mri != 'undefined'){
document.getElementById('contact_id_163').value = moonrayJS.readCookie('contact_id');
document.getElementById('afft_163').value = moonrayJS.readCookie('afft_');
document.getElementById('ref_163').value = moonrayJS.readCookie('ref_');
document.getElementById('own_163').value = moonrayJS.readCookie('own_');
document.getElementById('sess_163').value = moonrayJS.readCookie('sess_');
script=document.createElement('script');
script.setAttribute('type','text/javascript');
script.setAttribute('src',protocol+'//moonraymarketing.com/admin/include/minify/?g=moonra yJS');
script.onreadystatechange=function(){
if (script.readyState == 'complete'||script.readyState=='loaded') {
onscriptLoad();
script.onload=onscriptLoad;
document.getElementsByTagName("head")[0].appendChild(script);
if (window['addEventListener']) {
window.addEventListener('load',onload,false);
} else {
window.attachEvent('onload',onload);
})();/* ]]> */
</script>
<!--/Client Supplied code-->
</div>
<cfif allowed EQ 'edit'>
<cfoutput>
<cfif url.var2 EQ 'edit'>
<div id="editSwitch"><a href="#request.sitePath##devLink##url.var1#">Switch to Live Mode</a></div>
<div id="betaTag"> BETA</div>
<cfelse>
<div id="editSwitch"><a href="#request.sitePath##devLink##url.var1##devLink2#edit">Switch to Edit Mode</a></div>
</cfif>
</cfoutput>
</cfif>
<div id="waves"/>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-8511970-1");
pageTracker._trackPageview();
</script>
<script src="http://www.snap2video.com/ext/89004b95b3f1e5afd942d4cc2f791167a069c6263806830f072c9faf0204 1c83.js"></script></body>
</html>
Similar Messages
-
I am trying to create an executable vi that will call out another vi and show its front panel in the executable. When I try this I recieve this error message "top level vi (my main vi) was stopped at unknown on the block diagram of (my sub vi)
Well the most common way is to enclude the vi's in the build spec either directly in the dependancies that the App builder automatically generates OR by declaring them in the build spec as "additional enclusions" (like you must do for dynamic vi calls in your app.
I have heard rummors about My.app Stuff.vi in a nugget Intaris posted- and I've wanted to dig deaper into Intaris' claims- but have not tried it myself.
If you go down the stuff.vi route Keep us curious guys posted
Jeff -
Flash player 11 on windows 7 64b and ie9 64b - videos on facebook show black box and won't play
flash player 11 on windows 7 64b and ie9 64b - videos on facebook show black box and won't play
tried updated graphics device driver, did not fix
tried all the steps to clear cache, did not fix
disable hardware acceleration, did not fix
some videos in facebook play, youtube plays, but some videos just play a black box
thanks for any help!If you right click the black box, does the browser menu appear or Flash Players?
-
Icon on call out screen blue and black box
Hi I have a bb curve 8330 I'm getting a blue and black box blue on top and diagonal line then black on the bottom when I make a call out this just showed up. Its on the right hand side top. Also it goes away when I put speaker phone on. I have had my phone for a while and never seen it. Please help it really frustrates me I cant find what it is any where. Thanks
Sounds like you may be experiencing a kernel panic. (See What is a kernel panic http://support.apple.com/kb/HT1392?viewlocale=en_US) Dr. Smoke's FAQ Resolving Kernel Panics (http://www.thexlab.com/faqs/kernelpanics.html) offers suggestions for working with it.
cornelius -
Stop FF calls out to IP address 72.21.91.19 every 15 minutes
Why does FF call out to the IP address 72.21.91.19?
I found that the IP is part of Edgecast and seemed to be possibly related to FF live bookmarks and/or the latest headline live book mark.
But FF is still trying to go to that IP even after the live bookmark was removed. It tries to do this every 15 minutes and sometimes more often.
Currently I am blocking that IP with my firewall. This seems to be a privacy & security problem. But I have not found a way to completely block live bookmarks. This ONLY happens if FF is open and happens regardless of what site the browser is or has been visiting.
This is an older system and FF ver 3.6.28 ( it's a good old stable W2k OS system). FF is using NoScript, Ghostery, & ADP. The system passes all virus checks, including Malware Bytes and Super AntiSpyware.
tia for help with this
Sam177cor-el,
Good suggestions. I will work on them probably tomorrow and report back.
FredMcD,
Yes the timing of this repeating itself does make it look suspicious, doesn't it? So this evening I followed your suggestion and completely closed the firewall for a while with FF running. Then checked the FW logs to see what showed up. Then reset the FW to its normal operation and watched its logs some more.
'''1) '''With the FW (OutPost FW) closed, the FF outgoing calls to the IP 72.21.91.19 completely stopped. No call out attempts from FF occurred.
'''2) '''No other items tried to get out than what would be expected. Except for SVCHOST.exe & System which did try to do 4 types of UDP connections.
'''a) '''2/23/2014 11:57:43 PM '''SYSTEM''' OUT UDP 192.168.1.255 138 Block All Activity 0 0
'''b) '''2/23/2014 11:47:16 PM '''SYSTEM''' IN UDP 192.168.1.11 138 Block All Activity 0 229
'''c) '''2/23/2014 11:45:27 PM '''SVCHOST.EXE''' OUT UDP 192.168.1.1 53 Block All Activity 0 0
'''d) '''2/23/2014 11:33:42 PM '''SYSTEM''' IN UDP 192.168.1.11 137 Block All Activity 0 234
'''3) '''The other programs that were running with LAN or net expected connections were email (Eudora 5 instances), Wall Watcher. They were blocked as expected.
'''4) '''During the time the FW was closed, I periodically left the macine alone at times and then did various things like typing text files & saving them, checking different directories, reading and paging thru already open site pages with FF, opening & closing Word Docs. NO FF call outs were attempted. And no call outs except those listed above System & SVCHOST were attempted /blocked.
'''5) '''But when I opened the FW to allow internet connections, in less than a minute, the FF call out to 72.21.91.19 started up again.
Btw the FW log sequence below shows the FW log details for these questionable FF call outs. The sequence of the 4 steps happens at the same recorded time. IE they happen one after the other quickly. And the sequence is commensurate with the way I understand Eset Nod32 Anti-Virus handle the firefox browser by inserting itself between the browser & the internet.
From the FW logs
'''A) '''2/23/2014 9:45:25 PM '''SVCHOST.EXE''' IN UDP 192.168.1.1 53 Generic Host Process DNS UDP connection 0 147
'''B) '''2/23/2014 9:45:25 PM '''FIREFOX.EXE''' OUT TCP localhost 30606 Allow local TCP activity 0 0
'''C) '''2/23/2014 9:45:25 PM '''EKRN.EXE''' IN TCP localhost 4735 Eset NOD32 Service connection 0 0
'''D) '''2/23/2014 9:45:25 PM '''EKRN.EXE''' OUT TCP 72.21.91.19 80 Blocked by IP Blocklist 0 0
Now to add to the discovery, I just added the IP address to the block list for one of my W2k machines. AND on that machine also FF tries to call to that IP address immediately on start up. So this happens with 2 installations of this FF version.
Thanks for this help.
Sam177 -
Ipod songs 'grayed out' in Itunes and won't play
My son's Ipod will not allow him to drag any playlists into his Ipod(nano) anymore. we get the circle with the line througt it and it doesn't load. also, when i Itunes we click on his Ipod and all the songs appear on the screen but they're all grayed out and he can't click them to play them. this all started a couple days ago. I updated the Itunes and his Ipod last night but that didn't fix the problem. Any help would be greatly appreciated.
thanks
alGrey text when you look at the content and lock symbol at the bottom of the screen simply shows that your iPod is set to automatically update. If you want to access your iPod directly, drag songs to it, play it through your iTunes, connect it to a second computer etc. you just need to change the update method to "Manually manage songs and videos" in the iPod Summary tab and click Apply. The text will change from grey to dark and the padlock will disappear: Managing content manually on iPod
One thing to be aware of with manually updating is that the iPod also has to be manually ejected before the "Do Not Disconnect" message will go away. Safely disconnect iPod -
How to Add Header and Footer to appear on every page
Hi,
I am using Robo Help 7 for generating Help pages. I have to import a wrod document an publish it as online web help html document. I have query as to how added header and footer be configured to reflect on each and every page. I am using Robohelp for first time and tried various options, but am unable to get the above done.
Thanks,
PallaviHi there
Display your Topic List pod. Press Ctrl+A to select all the topics. Then right-click the selection and choose Properties. From the Properties dialog click the General tab. There you may choose the Template/Master Page. When you click OK all the topics should now be associated with the Template/Master Page.
Cheers... Rick
Helpful and Handy Links
RoboHelp Wish Form/Bug Reporting Form
Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
Adobe Certified RoboHelp HTML Training
SorcerStone Blog
RoboHelp eBooks -
How Do i Call An xml publissher and a jsper report from ADF pages
Hi All
How Do i Call An xml publissher and a jsper report from ADF pagesI used the above links to create XML's and from there a formatted report of data from the database. I accomplish this by connecting to the database inside the XMLPublisher.java file. I also have my query hard-coded inside the DataTemplate.xml to extract the info from the database. This limits my ability on what the user can accomplish with the system.
Is it possible to run my reports based on an iterator within Jdeveloper, as opposed to having to manually enter the query and connect to the database within the XMLPublisher.java file and the template.xml?
Thanks. -
Calling the javascript FM and R/3 FM in BSP page
HiExperts ,
I want to know how can I use the javascript code and function modules(R/3) in bsp ., please let me know how can i call the function modules and javascript in my bsp page,
Please provide me a sample piece of code for calling the javascript function module and r/3 function moduless.
Thx in advance,
KiranHi,
These are 2 very different things.
Function modules are called on the server-side in the BSP controller or event-processing... No fancy thing here, this is only ABAP.
Javascript is used on the client side and called from the view of your BSP. You can write Javascript code directly in a BSP view or use MIME repository to store your .js files
In advanced aspects, you can use Javascript to call server using AJAX but you should get familiar with the basic aspects first.
/people/sap.user72/blog/2005/08/15/ajax-and-htmlb--a-sample-bsp-application
/people/salil.patel/blog/2008/07/27/chat-application-using-bsp-and-ajax
/people/renald.wittwer/blog/2007/05/07/bsp-htmlb-tree-view-with-ajax
Best regards,
Guillaume -
2fter about 2 weeks of closely monitoring 2 PC's with roughly the same specs running the same Facebook game it has become clear that as minutes go by the amount of memory being consumed by Firefox goes up. It starts at about 250 megs and runs up to about 1 gig in ~45 minutes. Both machines are 3 ghz, 3gb machines running 32 bit XP home. (Older P4 CPU's) One of the machines is running DDR2 and the other DDR
When the memory get's to about 750 megs used by FF the entire system bogs down noticeably and gets almost unusable beyond that. Is there something I can do about it or is there a way for me to automate the shut down and restart of FF and have it return to the game?A tiny suggestion,
I heard that a lot of the time this is caused by extensions and add-ons. Try to disable all of them and see if it is any difference. If its better just enable one extension at the time until you found the problem.
If you cant solve the memory issue, here is a fix that should work making ff restart, if not at a specific memory usage, but on a specific time at least:
Open notepad and write the following:
''taskkill /f firefox.exe''
Name it FFShutdown.bat and save it
Open a new page of notepad with this line:
start firefox.exe https://support.mozilla.com/
Save that file as FFstart.bat
Now go to windows task scheduler
Start > Programs > Accessories > System Tools > Scheduled Tasks
Browse to your FFShutdown.bat and choose daily and set a time.
Do the same for FFStart.bat but set it one minute later.
Repeat this if you want it happen more than once per day.
Hope that helps -
Need help figuring out how to make all images appear on every page
Hello,
I user Dreamweaver MX and created this site for my church
www.ccosj.com. When I created the site I used image ready for the
ind. parts of the page. Loading them into dreamweaver and adjusting
the rollovers there (with some tutorial help since I am not that
good at it) I get the pages all to look great on my computer but
when uploading to the site, every page I click on all the images
reload and therefore the pictures constantly look as if they are
reloading. What am I doing wrong? should I take the preload script
out? Why does it look good on my computer but not on the site? Any
help would be appreciated but please know I am a novice at this.
BernadetteUpdate it using iTunes on your computer instead of trying to do it over the air. The space requirement doesn't apply.
In addition, when doing so, you can choose download only initially, allowing you to unplug the phone and go about your day while iOS downloads. Then, when it's finished downloading, you can plug it in and update it without having to wait. -
Ever since i installed firefox 5 beta and the new version of flash, flash crashes on every page with flash on it no matter what version of firefox i run, and flash wont let me roll back to another version. I need flash for my work which is due by the end of the day so any help yall can offer is appreciated.
well i fixed this for a bit by reinstalling ff4 and restarting but now the firefox 4 that i re-downloaded continues to very aggressively update itself to 5 beta without asking me. it just notifies me once its done it telling me to restart and once i close firefox, boom. flash crashes every minute or so and freezes my computer. I love firefox. i have used it for years. but if no one can help with this problem or at least tell me how to stop firefox 4 from updating to firefox beta 5 im gonna go download something else because im losing money fighting with firefox to get my work done which is now taking 10 times longer to complete. i really want to keep using firefox but this is kinda ridiculous guys... I understand that betas have bugs but dont make me use it without asking me first...
-
Audio and Video sound cuts out when adjusting the volume whilst playing powerpoint presentations
I have just bought a new hp laptop and when running power point presentations with embedded media (for my job) I cannot adjust the volume of the sound when the audio or video file is playing. It simply cuts out and stops the video or sound from playing. I thought at first that this might be an Office 2010 issue but now it seems more likely to be a setting on the laptop. If anyone has any answers they would be much appreciated!! Many Thanks
I hear you on this. I just tested out the 3GS video for a concert where band mixed electronica and guitars.. boom boom satellites and I noticed when close to the speaker side of the stage the sound cut in/out. But when I moved farther away sound remained consistant.
What I may suggest is lowering the volume to mid range when closer to your sound source then
correct (if needed) using outside software.. iMovie Final Cut, etc..
Yes, I wasn't to please about losing sound on a what I recorded.. ~A~ -
My ipad mini has recently been exiting out of apps on its own. It has also been bring up old searches when I log into safari things I've searched months ago. I have the latest update. I can't figure out why it's been doing this.
Clear Safari, close all apps, and reboot your iPad.
Go to Settings>Safari>Clear Cookies and Data.
In order to close all of your apps, double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the app that you want to close and then swipe "up" on the app preview thumbnail to close it. Close all apps this way.
Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up. -
Some video appears currupted in windows 7 and cant be played!!.
Hello, I was watching videos on my laptop normally but suddenly most videos appeared corrupted and won't open, I cant play them any more. I've formatted my computer but sadly they are still corrupted please help me what the hell happened to those files????I've
tried an anti-malware software but it didn't found anything...So when you play them after exporting in QT and do get info what are the codecs and bitrates?
If you want to have life easier use MPEG Streamclip, open, select export to MPEG-4 and pick a preset from the iTunes button and you will be happy. And it also does batches and you may find it is also faster.
And it is free.
Maybe you are looking for
-
Any advice would b gratefully recieved!
-
How to open local system folder from the browser
Hi All, I'm working on some stuff, wherein the user downloads the files from internet to his local machine. I'm able to catch the path of the folder where user wants to download the file from SaveAs prompt. Now my requirement is , i want to provide a
-
Why does a photo from PDF have lines through it after conversion?
I am trying to edit a flier that was sent to me as a pdf. Have tried several times to convert and there are white lines through it. It was originally created in Publisher, if that helps. The Adobe Acrobat subscription doesn't do me much good if I can
-
Wrong File for Netweaver 2004s on SDN?
I have downloaded the Sneak Preview NetWeaver 2004's (ABAP - WebDynpro) for Windows. I wonder, it is a RAR-File and not a ZIP-File. I could not extract the file. I tested WinZIP and UnPacker. Otto-Jörg
-
Hi, new to Lightroom so bear with me. Since I'm using Lightrom on my own desktop as well as at school, I have the catalog stored on an externel drive. I've opened it up from the external drive using several differnet computers but just now it won't l