更新:2023.6.25
版本:Cef_114.2.110和114.2.100+chromium-114.0.5735.134的32位和64位
說明:支持圖片,mp3,mp4(H264)多媒體
測(cè)試環(huán)境:windows server 2019(其他環(huán)境沒測(cè),一般問題.NET4.5.2+及vc++運(yùn)行庫問題)
測(cè)試網(wǎng)址:www.html5test.com
聲明:本博是交流學(xué)習(xí)的內(nèi)容,應(yīng)用案例定制版瀏覽器的方式發(fā)布。下載連接底部見單獨(dú)的下載連接,需要的朋友下載。如果僅使用dll的看底部說明!不是沒有dll,而是在您安裝后的目錄下的dll文件想用到您的應(yīng)用程序下面覆蓋就可以了(覆蓋12個(gè)文件,您可以單獨(dú)復(fù)制出來留用,不用瀏覽器直接卸載即可綠色軟件)。不會(huì)用可以私聊留言告訴您怎么用。不要直接下結(jié)論沒有您要的dll文件,一定要看說明,不會(huì)要問。謝謝
要看最新版說明性文件2.6 (有關(guān)版本變化,運(yùn)行環(huán)境,系統(tǒng)支持性改變)
.NET 4.5.2+
109.x.x以后不再支持win7/8/8.1
110.x.x版本以后最低windows10
1.包下載地址
1.1 https://www.nuget.org/packages/CefSharp.Common/
1.2 https://www.nuget.org/packages/cef.redist.x64/
1.3 https://www.nuget.org/packages/cef.redist.x86/
1.4 https://www.nuget.org/packages/CefSharp.WinForms
1.5 下載工具IDM,本地更新
1.6 2023.7.2更新體驗(yàn)版(114.2.120版本,不支持MP4)
2 Cef官方文件地址
2.1 https://cef-builds.spotifycdn.com/index.html
2.2 各分支下載地址
https://bitbucket.org/chromiumembedded/cef/downloads/?tab=branches
2.3 該版本分支5735
【分支】https://bitbucket.org/chromiumembedded/cef/branch/5735
【5735源碼】https://bitbucket.org/chromiumembedded/cef/src/87c88072bb9ed1ffebbc5366953a4cd3371c4356/?at=5735
2.4 cef編譯和文檔
https://bitbucket.org/chromiumembedded/cef/wiki/ChromiumUpdate.md
2.5 更新114.2.120版本測(cè)試
2.6 閱讀最新版的升級(jí)說明?。。。?09.x.x和110.x.x版本變化有關(guān)的說明)
CefSharp Nuget Package
Background:背景
CefSharp is a .Net wrapping library for CEF (Chromium Embedded Framework) https://bitbucket.org/chromiumembedded/cef
CEF is a C/C++ library that allows developers to embed the HTML content rendering strengths of Google's Chrome open source WebKit engine (Chromium).
Post Installation:安裝后
- Add an app.manifest to your exe if you don't already have one, it's required for Windows 10 compatability, GPU detection, HighDPI support and tooltips. The https://github.com/cefsharp/CefSharp.MinimalExample project contains an example app.manifest file in the root of the WPF/WinForms/OffScreen examples.
- For `x86` or x64` set your projects PlatformTarget architecture to `x86` or `x64`.
- `AnyCPU` target is supported though requires additional code/changes see https://github.com/cefsharp/CefSharp/issues/1714 for details.
- Read the release notes for your version https://github.com/cefsharp/CefSharp/releases (Any known issues will be listed here)
- Read the `Need to know/limitations` section of the General usage guide (https://github.com/cefsharp/CefSharp/wiki/General-Usage#need-to-knowlimitations)
- Check your output `\bin` directory to make sure the appropriate references have been copied.
Deployment:部署
- Make sure a minimum of `Visual C++ 2019` is installed (`x86` or x64` depending on your build) or package the runtime dlls with your application, see the FAQ for details.
What's New:新增功能(要了解,運(yùn)行環(huán)境支持,.NET4.5.2+,從109版本以后就不再支持win7/8/8.1了)
See https://github.com/cefsharp/CefSharp/releases
IMPORTANT NOTE - Visual C++ 2019 or greater is required
IMPORTANT NOTE - .NET Framework 4.5.2 or greater is required.
IMPORTANT NOTE - Chromium support for Windows 7/8/8.1 ends with version 109, starting with version 110 a minimum of Windows 10 is required.從110版本開始至少需要win10
Basic Troubleshooting:基本故障排除
- Minimum of .Net 4.5.2
- Minimum of `Visual C++ 2019 Redist` is installed (either `x86` or `x64` depending on your application).
- Please ensure your binaries directory contains these required dependencies:
* libcef.dll (Chromium Embedded Framework Core library)
* icudtl.dat (Unicode Support data)
* chrome_elf.dll(Crash reporting library)
* snapshot_blob.bin, v8_context_snapshot.bin (V8 snapshot data)
* locales\en-US.pak, chrome_100_percent.pak, chrome_200_percent.pak, resources.pak, d3dcompiler_47.dll, libEGL.dll, libGLESv2.dll
- Whilst these are technically listed as optional, the browser is unlikely to function without these files.
- See https://github.com/cefsharp/CefSharp/wiki/Output-files-description-table-%28Redistribution%29 for details
* CefSharp.Core.dll, CefSharp.dll, CefSharp.Core.Runtime.dll
CefSharp.BrowserSubprocess.exe, CefSharp.BrowserSubProcess.Core.dll
- These are required CefSharp binaries that are the common core logic binaries of CefSharp.
* One of the following UI presentation libraries:
* CefSharp.WinForms.dll
* CefSharp.Wpf.dll
* CefSharp.OffScreen.dll
- Additional CEF files are described at: https://github.com/cefsharp/CefSharp/wiki/Output-files-description-table-%28Redistribution%29
- NOTE: CefSharp does not currently support CEF sandboxing.目前不支持cef沙箱
- By default `CEF` has it's own log file, `Debug.log` which is located in your executing folder. e.g. `bin`默認(rèn)調(diào)試日志文件
For further help please read the following content:
- Quick Start https://github.com/cefsharp/CefSharp/wiki/Quick-Start
- General Usage Guide https://github.com/cefsharp/CefSharp/wiki/General-Usage
- Minimal Example Projects showing the browser in action (https://github.com/cefsharp/CefSharp.MinimalExample)
- CefSharp GitHub https://github.com/cefsharp/CefSharp
- CefSharp's Wiki on github (https://github.com/cefsharp/CefSharp/wiki)
- FAQ: https://github.com/cefsharp/CefSharp/wiki/Frequently-asked-questions
- Troubleshooting guide (https://github.com/cefsharp/CefSharp/wiki/Trouble-Shooting)
- CefSharp vs Cef (https://github.com/cefsharp/CefSharp/blob/master/CONTRIBUTING.md#cefsharp-vs-cef)
- Got a question? Ask it on GitHub Discussions (https://github.com/cefsharp/CefSharp/discussions)
- If you have a reproducible bug then please open an issue on `GitHub` making sure to complete the bug report template.
3.Cefsharp倉庫地址
3.1 https://github.com/cefsharp/CefSharp
3.2 官方倉庫版本114.2.100(兼容),114.* 對(duì)應(yīng)分支5735
4. 本地化編譯
4.1 升級(jí)》編譯》運(yùn)行(官方最新包114.2.10=114.2.100)
注意:112.*版本后,移除該方法:Cef.EnableHighDPISupport();
4.2 測(cè)試對(duì)h264的支持情況,在線視頻功能(html5test.com)
5.相關(guān)下載(不單獨(dú)提供dll,安裝瀏覽器目錄下釋放出dll您可以直接使用)
如果運(yùn)行異常,需要安裝環(huán)境支持文件
x86:https://aka.ms/vs/16/release/VC_redist.x86.exe
x64:https://aka.ms/vs/16/release/VC_redist.x64.exe
瀏覽器自定義首頁方法,點(diǎn)擊 瀏覽器,按Ctrl+M快捷鍵 彈出窗口,先讀取配置,再修改配置,保存配置
重啟瀏覽器或重新加載(F5或右鍵重載)即可默認(rèn)首頁。更多快捷鍵見底部介紹圖。
5.1 64位版本(支持H264,mp4)瀏覽器
https://download.csdn.net/download/uaime/87952496?spm=1001.2014.3001.5501
安裝密碼250913233,如安裝過程中有問題,私信。不會(huì)用要私下問??!
單獨(dú)使用dll的朋友,請(qǐng)?jiān)诎惭b目錄下找這些文件到您的項(xiàng)目覆蓋即可。
5.2 32位版本(支持H264,mp4)瀏覽器
https://download.csdn.net/download/uaime/87952479?spm=1001.2014.3001.5501
安裝密碼250913233,如安裝過程中有問題,私信。不會(huì)用藥私下問!
單獨(dú)使用dll的朋友,請(qǐng)?jiān)诎惭b目錄下找這些文件到您的項(xiàng)目覆蓋即可。
5.3 其他版本(單獨(dú)使用dll時(shí)請(qǐng)到安裝目錄中找dll文件覆蓋即可,不會(huì)用請(qǐng)聯(lián)系)
9i物聯(lián)網(wǎng)瀏覽器功能圖(向后兼容,支持定制,瀏覽器請(qǐng)勿直接更新功能)
https://blog.csdn.net/uaime/article/details/131246794
最新版本體驗(yàn),關(guān)注我,第一時(shí)間發(fā)布。感謝支持!
V89.*-H264
https://blog.csdn.net/uaime/article/details/131257888?spm=1001.2014.3001.5501
V100.*-H264
https://jiuai.blog.csdn.net/article/details/127153876?spm=1001.2014.3001.5502
V107.*-H264
https://blog.csdn.net/uaime/article/details/128051114
V109.*-H264
https://blog.csdn.net/uaime/article/details/130692917?spm=1001.2014.3001.5501文章來源:http://www.zghlxwxcb.cn/news/detail-511710.html
瀏覽器功能快捷說明圖(參考,版本向后兼容,可能會(huì)有變化)文章來源地址http://www.zghlxwxcb.cn/news/detail-511710.html
到了這里,關(guān)于9i物聯(lián)網(wǎng)瀏覽器(cef_114.2.110&114.2.100支持H264視頻)WinForm-CefSharp114(5735)視頻版本體驗(yàn)的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!