I have a website in English. I am having a problem with the text of file upload control. I want to show its text in English to all users. But in chrome it shows message as per user's locale. If user's browser is set to display Google Chrome in danish it will show file upload text in danish.
Note: I know it is a stupid question as user has told chrome to show him in danish. But curious if there is any way. Because my all other page content is in English.
Apparently, the way to fix this is to modify the URL, either by switching the &hl=da parameter to &hl=en or by adding &hl=en if it does not exist there already.
See this: http://www.google.com/support/forum/p/Google%20Docs/thread?tid=6e11e4f94a9c384c&hl=en
Related
I have a wordpress website with a survey that is shareable using social sharing plugins (I currently have mashshare as well as a hand coded button and both have the same issue). This survey is hardcoded in PHP file so none of its contents can bee seen in the visual/text tabs of wordpress.
My problem is that when I change the share image and the text, both do not update when I share them to facebook. I can even delete the text and place a new one in and it will only show the original image and text and will not update.
i have a developer in india that claims he "fixed" this issue but he somehow got it to refresh one time. The problem still persists when I attempt to change the image or text.
Any idea how he got it to refresh OR how to fix it completely?
by the way, sharing on the rest of the site works perfectly fine.
Facebook cacheds the OG data, it is not meant to be changed the whole time and will even be locked after a while afaik. You can refresh it manually in the debugger: https://developers.facebook.com/tools/debug/
I have a WordPress blog that has a hyperlink to a PDF report. The user clicks the link and the report PDF opens up in another tab. When it opens up in another tab it uses whatever PDF software is on the local machine (e.g. for me it uses Adobe Reader to view the PDF online).
Is there any way at all that the ability to then select the PDF text, right-click, Copy and then Paste it in to a Word document or such (effectively stealing the information) can be stopped in some way?
On the same page that has the highlighted text mentioned we also have a link to download the entire report which is said PDF. When this is done, because the PDF was secured in Acrobat before being uploaded to WordPress if someone tries to edit the text then they cannot as the restrictions are in place - but why are the restrictions not in place when the PDF is viewed online?
Any assistance or advice on how to protect the PDF contents when viewed online (I realise it may not even be possible but I am open to suggestions) would be greatly appreciated.
You can start by modifying the security properties on the document itself. I'm not sure if you can do this with Adobe Reader, but I know you can do it with Acrobat Pro. Here's an article that describes how to disable copy/paste, printing, etc. etc. I tested in IE8, FF, and Chrome -- it looks like the permissions are honored.
Short Version:
I am using Chrome 27.0.1453.94 on Windows 7 Pro
I go to http://www.try-phpbb.com/30x/ using Chrome
I select Print... | Save as PDF
The print preview looks nothing like the web page - layout, links, fonts all wrong.
Why?
How can I fix this to make the PDF styled the same way as the web site?
Long Version:
I am a member of a secure forum (ie have to log in for access), which is base on the phpBB forum template (https://www.phpbb.com/). Our forum will be cleared of all threads and posts soon to make room for the next round of subscribers.
We have been given permission (even encouraged) by the moderators to download the contents of each topic/thread/post and write them into PDF files so we can keep referencing them in the future. We have to do this ourselves, and I volunteered to do the work as I have an IT background. But its proving harder than I thought.
I was hoping to do the following this process...
Download and add "Stylish" Chrome Extension
(https://chrome.google.com/webstore/detail/stylish/fjnbnpbmkenffdnngjfgmeleoegfcffe)
Add CSS code to Stylish to modify the appearance of the forum pages ready for PDF migration
In Chrome use Print | Save as PDF option to save styled page as a PDF doc
For multi-page forums, repeat this process for each page and then use PDFMate (or similar) to concatenate the PDF docs together into a single long PDF.
Steps 1, 2 and 4 are working perfectly, but step 3 is not.
The print preview in Chrome screws up the appearance of the forum pages. Layout styling is lost, fonts are completely different, links are missing or look terrible. For example, try printing this page (http://www.try-phpbb.com/30x/) - it looks completely different in print preview to how it looks in the browser.
Is there something I can do to fix this? Can I somehow give the print preview version some CSS code to restyle it? Anyone know why this would be happening?
Or alternatively, can you suggest another solution to convert HTML to PDF? I have tried Chrome extensions "iWeb2x" and "Send to Google Drive", but with no success - because the forum is secured, the PDF file they create is the forum's Login page, not the forum thread page I'm currently looking at.
Any help greatly appreciated - thanks.
Have a look here, maybe it's helpful
http://www.smashingmagazine.com/2011/11/24/how-to-set-up-a-print-style-sheet/
You can set your own css style for the printed page.
Hope it helps, regards
I had a case, where if the iframe is display:none, the css is not loaded, thus not printing the correct CSS style. You can fix it with visibility:hidden; And size zero
Is it possible to link youtube videos in HTML code without showing it's captions (subtitles)?
Let's say I have following video: http://www.youtube.com/watch?v=kTvHIDKLFqc . It has default english subtitles. However, when linking this video, I want to load it without them. Is there a possibility to do so with some kind of parameter in video?
I found this link with description how to do it, but it doesn't seem to work. If I try to use following format of link, it shows captions anyway: http://www.youtube.com/watch?v=kTvHIDKLFqc&cc_load_policy=0. Is it not working or did I misunderstand anything?
I found the documentation to be a little misleading in that setting &cc_load_policy=1 does not show the closed captions by default, but enables toggling with the cc button in the video control bar when entered as shown here -
http://www.google.com/support/youtube/bin/answer.py?hl=en&answer=140174
It seems cc_load_policy is a parameter that only accepts 1 as value, so even if you try to use 0 or off values to turn off captions, it won't make a difference (at least until today: 2015-05-18 2017-09-11):
https://developers.google.com/youtube/player_parameters#cc_load_policy
2017-09-11 Solution: "Enable privacy-enhanced mode"
When you share a video in Youtube through the embedding option, you can click the "Enable privacy-enhanced mode" checkbox. This will change the URL to a different Youtube domain: https://www.youtube-nocookie.com
Just by doing this, even if the user has captions On by default, the nocookie option will not read the cookie associated to the user preferences (it's as if the user does not require captions by default).
I have created this codepen example in order to explain this:
Try playing the "No parameters" video and then the cc_load_policy=1 video (it may not display captions due to user preferences, even if in the latter the CC button is activated - red underline);
Then play the "nocookie domain" video and there should be no captions.
Try activating captions in the "no parameters" video and refresh the page.
All videos except the "nocookie domain" video will display captions.
Disclaimer: I have only seen this working in Chrome (Firefox and Edge always display captions in the nocookie domain, even in private navigations). If you activate/deactivate captions manually in the "nocookie domain" video, then it will display/hide captions in this domain when you refresh the page respectively.
Old stuff (partial solution for owners of the video)
cc_lang_pref does not accept off or Off as a value either...
I managed to turn off captions/subtitles for the default language of the video this way only for Safari and IE (I have captions in the default language and English - in my case, Chrome and Firefox seemed to have ignored the change, but I suggest to give it a shot anyway):
In youtube if you go to your video's Info and Settings page and click Advanced Settings tab, set the Video Language to Not applicable.
Save and go to Subtitles and CC page, where a pop-up appears explaining that «You must select a video language before adding subtitles or CC.» (this seems not to be true, because they even appear anyway).
Choose your video's default language in the pop-up: this is what makes it understand that you don't need captions of your default language when the video is in the same default language the weird thing is, this is the step that will make them not to show up, and it's not because the same language is used in the captions.
In the URL's video that you do not want to have captions do not use cc_load_policy parameter, but you can use cc_lang_pref to the default language like this:
http://www.youtube.com/watch?v=kTvHIDKLFqc&cc_lang_pref=en.
Again, this seems to work only in some browsers (Firefox and Chrome not included), but hope it helps...
The site says how to turn on caption. It does not talk about turning off captions. I thinkit depends on the user's previous choice.
When you embed a video on another
site, you can make it so that captions
are always shown on the embedded
video. To enable captions on a video
you'd like to embed, just add
&cc_load_policy=1 to the video's embed
code.
It's very simple, add iv_load_policy=3 parameter to your embed code.
Peace to whom will follow the guidance,
(Thanks for your tries but I found something nice not far away from there...)
Ask for a language preference that is not from the translated captions (for my exemple "He" stands Hebrew, that was not among the offered translations of the video.)
Add ?hl=He to the url, like this :
without it :
https://www.youtube.com/watch?v=pRztmbnyV70
and with it :
https://www.youtube.com/watch?v=pRztmbnyV70?hl=He
Makes it... ?
It worked for me on Firefox, Edge and Opera.
-- Enjoy !
Note : the particle desapears after the loading of the page ...But the job is done !
please tell me how can i show matter in Hindi Language on my asp.net page. and the main thing is that my text should be visible even if the Hindi font is not installed at client side. for that i researched on Google and find out that unicode can do it.. but i dont know how to work with it.
The browser can only display fonts that are installed on the users PC, and you can use the CSS font-face property to specify the font(s) that should be used.
yes we can do it using nvarchar datatype to store data and then show it directly on page
reference:
http://dotnetacademy.blogspot.com/2010/01/show-data-in-hindi-without-installing.html