谷歌图书预览没有在安全的https上显示图书图像链接,但在http上工作.在Google Chrome和Touch浏览器
Google Books Preview not showing Book Image Link on secured https but working on http.. in Google Chrome and Touch browser
我的网站上嵌入了一个谷歌图书预览,但发现了一件奇怪的事情,需要帮助。如果我在安全的http连接上查看页面,图像书预览链接显示。。。这就是我想要的。
但是当我在一个不安全的http连接上查看同一个网站时预览链接不起作用。。
这是我的代码片段
<script src="http://books.google.com/books/previewlib.js"></script>
... <!-- html codes -->
<script>GBS_setLanguage('en');</script>
<script>GBS_insertPreviewButtonPopup('{{subID}}');</script> <span title=" 1740202872">High School Fundamentals of English</span></li>
我会把图片粘贴在这里,但没有得到声誉来添加图片。
只需确保在包含googlebooksAPI之前先包含jquery-api。
你可以包括这样的脚本:
<script src="/static/js/jquery-2.0.3.min.js"></script>
<script src="http://books.google.com/books/previewlib.js"></script>
然后,添加这个:
... <!-- html codes -->
<script>GBS_setLanguage('en');</script>
<script>GBS_insertPreviewButtonPopup('{{subID}}');</script> <span title=" 1740202872">High School Fundamentals of English</span></li>
相关文章:
- Node http-proxy-middleware 不能与本地服务器一起工作
- Angular2 http.get代码不工作
- 在工作灯中的Http适配器中检索Lat和Long
- 谷歌图书预览没有在安全的https上显示图书图像链接,但在http上工作.在Google Chrome和Touch浏览器
- 角度$http.get不工作
- 使函数在HTTP和HTTPS中工作
- 角度.js http.post 美元,Codeigniter 不工作
- UI-router、解析$http未按文档工作
- Angular HTTP GET请求在浏览器中工作时返回未定义
- Angular JS:使用 $http.get() 导入 JSON 数据 - 在控制器中工作,不在服务中 - 为什么
- window.open没有'我不在http postangular工作
- $http和factory-这个模式是如何工作的
- 其中的行“xmlns:ng="http://angularjs.org"`工作/需要
- Restify静态Web服务器在启用HTTP基本身份验证后停止工作
- Http Get-Request和JSONP不工作
- $http服务angular不工作
- http.get无法在angularjs中工作
- Node.js中的HTTP POST不工作
- $http.json()是如何工作的
- 我的node.js http请求第一次工作,现在它显示了一些错误